SAP ABAP Class CL_HCPR_XML_PARSER_1 (XML-Parser for HCPR Version 1.0 to 1.9)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-WHM-MTD (Application Component) Metadata (Repository)
⤷
RSO_HCPR_MODEL (Package) BW: Backend Model for HANA Composite Provider
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_RSO_STRUCTURE_TREE_MODEL | Object Model Based on a Structure Tree | 20130118 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_RSO_XML_PARSER | Common Representation of a Model XML Parser | 20130118 |
Properties
| Class | CL_HCPR_XML_PARSER_1 | |
| Short Description | XML-Parser for HCPR Version 1.0 to 1.9 | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSO_HCPR_MODEL | BW: Backend Model for HANA Composite Provider |
| Created | 20130118 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_RSO_STRUCTURE_TREE_MODEL | Object Model Based on a Structure Tree | 20130118 | ||
| 2 | IF_RSO_XML_PARSER | Common Representation of a Model XML Parser | 20130118 |
Friends
Class CL_HCPR_XML_PARSER_1 has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | BALOBJ_D | CL_RSO_REPOSITORY=>P_C_BAL_LOG_OBJECT | Application log: Object name (Application code) | 20130118 | ||
| 2 | Constant | Private | Type reference (TYPE) | BALSUBOBJ | CL_RSO_REPOSITORY=>G_C_BAL_LOG_SUBOBJECT_MODEL | Application Log: Subobject | 20130118 | ||
| 3 | Constant | Private | Type reference (TYPE) | STRING | 'clientDependent' | Attribute Name for Client Dependency | 20130120 | ||
| 4 | Constant | Private | Type reference (TYPE) | STRING | 'name' | Attribute Name for Column View Name | 20130120 | ||
| 5 | Constant | Private | Type reference (TYPE) | STRING | 'compositeView' | Model Root Element | 20130120 | ||
| 6 | Constant | Private | Type reference (TYPE) | STRING | 'defaultNode' | Attribute Name: | 20130120 | ||
| 7 | Constant | Private | Type reference (TYPE) | STRING | 'element' | Element: element | 20130120 | ||
| 8 | Constant | Private | Type reference (TYPE) | STRING | 'endUserTexts' | Element: endUserTexts | 20130120 | ||
| 9 | Constant | Private | Type reference (TYPE) | STRING | 'input' | Element: input | 20130120 | ||
| 10 | Constant | Private | Type reference (TYPE) | INT1 | 1 | Major Model Version | 20130118 | ||
| 11 | Constant | Private | Type reference (TYPE) | INT1 | 0 | Minor Model Version | 20130118 | ||
| 12 | Constant | Private | Type reference (TYPE) | STRING | 'physicalSchemaName' | Attribute Name for Pysical Schema | 20130120 | ||
| 13 | Constant | Private | Type reference (TYPE) | STRING | 'schemaVersion' | Attribute Name for XSD Schema Version | 20130120 | ||
| 14 | Constant | Private | Type reference (TYPE) | STRING | 'tlogoProperties' | Element: tlogoProperties | 20130121 | ||
| 15 | Constant | Private | Type reference (TYPE) | STRING | 'viewNode' | Element: viewNode | 20130120 | ||
| 16 | Instance attribute | Private | Type reference (TYPE) | I | Last Parser Event Type | 20130120 | |||
| 17 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | iXML Document | 20130118 | |||
| 18 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_ISTREAM | Input Stream | 20130118 | |||
| 19 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HCPR_MODEL_TYPES=>TN_S_COMPOSITE_VIEW | Composite Provider Structure Tree | 20130118 | |||
| 20 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_PARSER | iXML Parser Interface | 20130118 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | TP_T_STACK | Stack which holds currently filled structure reference | 20130120 | |||
| 22 | Static Attribute | Private | Type reference (TYPE) | TP_TH_NAME_SPACE | XML Name Space Index | 20130120 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20130120 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20130118 | |
| 3 | Instance method | Private | Method | Returns the attribute interface of an XML attribute | 20130120 | |
| 4 | Instance method | Private | Method | Dispatcher for parsing XML element properties | 20130120 | |
| 5 | Instance method | Private | Method | Dispatcher for parsing XML text content | 20130121 | |
| 6 | Instance method | Private | Method | Peeks the current structure element from stack | 20130120 | |
| 7 | Instance method | Private | Method | Pops current closed structure element from stack | 20130120 | |
| 8 | Instance method | Private | Method | Pushes curent open structure element to the element stack | 20130120 | |
| 9 | Instance method | Private | Method | Sets the Column View properties from XML | 20130120 | |
| 10 | Instance method | Private | Method | Sets End User Text properties from XML | 20130120 | |
| 11 | Instance method | Private | Method | Sets Input properties from XML | 20130121 | |
| 12 | Instance method | Private | Method | Sets common Tlogo Properties from XML | 20130121 | |
| 13 | Instance method | Private | Method | Sets View Node properties from XML | 20130120 |
Events
Class CL_HCPR_XML_PARSER_1 has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TP_S_NAME_SPACE | Private | See coding | XML Name Space Entry | 20130120 | BEGIN OF tp_s_name_space,
ns_alias TYPE string,
uri TYPE string,
END OF tp_s_name_space
|
|
| 2 | TP_S_STACK | Private | See coding | Data Reference Stack Entry | 20130120 | BEGIN OF tp_s_stack,
element TYPE string,
root TYPE REF TO data,
END OF tp_s_stack
|
|
| 3 | TP_TH_NAME_SPACE | Private | See coding | XML Name Space Index | 20130120 | tp_th_name_space TYPE HASHED TABLE OF tp_s_name_space WITH UNIQUE KEY ns_alias
|
|
| 4 | TP_T_STACK | Private | See coding | Data Reference Stack | 20130120 | tp_t_stack TYPE STANDARD TABLE OF tp_s_stack WITH DEFAULT KEY
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_HCPR_XML_PARSER_1 has no parameter.
Method CLASS_CONSTRUCTOR on class CL_HCPR_XML_PARSER_1 has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_HCPR_XML_PARSER_1 has no parameter.
Method CONSTRUCTOR on class CL_HCPR_XML_PARSER_1 has no exception.
Method GET_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | XML Attribute Name | 20130120 | |||
| 2 | I_ELEMENT | Call by reference | Type reference (TYPE) | STRING | XML Element Name | 20130120 | |||
| 3 | I_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | Namespace Alias | 20130120 | |||
| 4 | I_REQUIRED | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | Attribute is required | 20130120 | ||
| 5 | I_R_ATTRIBUTE_MAP | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NAMED_NODE_MAP | Indexed List of Attributes with Values | 20130120 | |||
| 6 | R_R_ATTRIBUTE | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ATTRIBUTE | Attribute reference | 20130120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model Deserialization Error | 20130120 |
Method PARSE_ELEMENT_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | STRING | XML Element Name | 20130120 | |||
| 2 | I_PARENT_ELEMENT | Call by reference | Type reference (TYPE) | STRING | Name of Parent XML Element | 20130121 | |||
| 3 | I_R_ATTRIBUTE_MAP | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NAMED_NODE_MAP | Indexed List of Attributes with Values | 20130120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model Deserialization Error | 20130120 |
Method PARSE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | STRING | Current Element | 20130121 | |||
| 2 | I_PARENT_ELEMENT | Call by reference | Type reference (TYPE) | STRING | Name of Parent XML Element | 20130121 | |||
| 3 | I_TEXT | Call by reference | Type reference (TYPE) | STRING | Text value | 20130121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model Deserialization Error | 20130121 |
Method PEEK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_R_NODE | Value transfer | Object reference (TYPE REF TO) | DATA | Current structure element on the stack | 20130120 |
Method PEEK on class CL_HCPR_XML_PARSER_1 has no exception.
Method POP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | STRING | Compare element name | 20130120 | |||
| 2 | R_R_NODE | Value transfer | Object reference (TYPE REF TO) | DATA | Strucuture reference which was deleted from stack | 20130120 |
Method POP on class CL_HCPR_XML_PARSER_1 has no exception.
Method PUSH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | STRING | Element name | 20130120 | |||
| 2 | I_R_NODE | Call by reference | Object reference (TYPE REF TO) | DATA | Current structure reference | 20130120 |
Method PUSH on class CL_HCPR_XML_PARSER_1 has no exception.
Method SET_COLUMN_VIEW_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | XML Element Name | 20130120 | |||
| 2 | I_R_ATTRIBUTE_MAP | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NAMED_NODE_MAP | Indexed List of Attributes with Values | 20130120 | |||
| 3 | I_R_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_HCPR_MODEL_TYPES=>TN_S_COMPOSITE_VIEW | Strucutre root | 20130121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model Deserialization Error | 20130120 |
Method SET_END_USER_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | XML Element Name | 20130120 | |||
| 2 | I_R_ATTRIBUTE_MAP | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NAMED_NODE_MAP | Indexed List of Attributes with Values | 20130120 | |||
| 3 | I_R_END_USER_TEXTS | Call by reference | Object reference (TYPE REF TO) | IF_BW_ENTITY_MODEL_TYPES=>TN_S_END_USER_TEXTS | Structure Root | 20130121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model Deserialization Error | 20130120 |
Method SET_INPUT_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | XML Element Name | 20130121 | |||
| 2 | I_R_ATTRIBUTE_MAP | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NAMED_NODE_MAP | Indexed List of Attributes with Values | 20130121 | |||
| 3 | I_R_INPUT | Call by reference | Object reference (TYPE REF TO) | IF_HCPR_MODEL_TYPES=>TN_S_INPUT | Structure Root | 20130121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model Deserialization Error | 20130121 |
Method SET_TLOGO_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | STRING | XML Element | 20130121 | |||
| 2 | I_R_ATTRIBUTE_MAP | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NAMED_NODE_MAP | Indexed List of Attributes with Values | 20130121 | |||
| 3 | I_R_TLOGO_PROPERTIES | Call by reference | Object reference (TYPE REF TO) | IF_BW_ENTITY_MODEL_TYPES=>TN_S_BW_ENTITY_PROPERTIES | Structure Root | 20130121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model Deserialization Error | 20130121 |
Method SET_VIEW_NODE_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ELEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | XML Element Name | 20130120 | |||
| 2 | I_IS_REFERENCE | Call by reference | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | View Node is reference | 20130121 | ||
| 3 | I_R_ATTRIBUTE_MAP | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NAMED_NODE_MAP | Indexed List of Attributes with Values | 20130120 | |||
| 4 | I_R_VIEW_NODE | Call by reference | Object reference (TYPE REF TO) | IF_HCPR_MODEL_TYPES=>TN_S_VIEW_NODE | Structure Root | 20130121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Model Deserialization Error | 20130120 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |