SAP ABAP Class CL_SEA_SEW_XML_PARSER (Parses elements of a DTE from a wsdl)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ESI-SEW (Application Component) Service Extension Workbench
⤷
SEA_SEW_ESR (Package) ESR Access API for SEW
⤷
⤷
Properties
| Class | CL_SEA_SEW_XML_PARSER | |
| Short Description | Parses elements of a DTE from a wsdl | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SEA_SEW_ESR | ESR Access API for SEW |
| Created | 20100401 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SEA_SEW_XML_PARSER has no interface implemented.
Friends
Class CL_SEA_SEW_XML_PARSER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SYSUBRC | 99 | Error Code: Everything OK | 20100806 | ||
| 2 | Constant | Private | Type reference (TYPE) | STRING | 'annotation' | 20100610 | |||
| 3 | Constant | Private | Type reference (TYPE) | STRING | 'attribute' | 20100401 | |||
| 4 | Constant | Private | Type reference (TYPE) | STRING | 'attributeGroup' | 20100407 | |||
| 5 | Constant | Private | Type reference (TYPE) | STRING | 'base' | 20100610 | |||
| 6 | Constant | Private | Type reference (TYPE) | STRING | 'complexType' | 20100610 | |||
| 7 | Constant | Private | Type reference (TYPE) | STRING | '.Content' | 20100610 | |||
| 8 | Constant | Private | Type reference (TYPE) | STRING | 'default' | 20100610 | |||
| 9 | Constant | Private | Type reference (TYPE) | I | 1 | 20100401 | |||
| 10 | Constant | Private | Type reference (TYPE) | STRING | 'documentation' | 20100610 | |||
| 11 | Constant | Private | Type reference (TYPE) | STRING | 'element' | 20100401 | |||
| 12 | Constant | Private | Type reference (TYPE) | STRING | 'extension' | 20100610 | |||
| 13 | Constant | Private | Type reference (TYPE) | STRING | 'group' | 20100407 | |||
| 14 | Constant | Private | Type reference (TYPE) | STRING | 'maxOccurs' | 20100401 | |||
| 15 | Constant | Private | Type reference (TYPE) | STRING | 'name' | 20100401 | |||
| 16 | Constant | Private | Type reference (TYPE) | I | 0 | 20100407 | |||
| 17 | Constant | Private | Type reference (TYPE) | STRING | 'restriction' | 20100610 | |||
| 18 | Constant | Private | Type reference (TYPE) | STRING | 'schema' | 20100401 | |||
| 19 | Constant | Private | Type reference (TYPE) | STRING | 'sequence' | 20100610 | |||
| 20 | Constant | Private | Type reference (TYPE) | STRING | 'simpleContent' | 20100610 | |||
| 21 | Constant | Private | Type reference (TYPE) | STRING | 'simpleType' | 20100610 | |||
| 22 | Constant | Private | Type reference (TYPE) | STRING | 'type' | 20100401 | |||
| 23 | Constant | Private | Type reference (TYPE) | STRING | 'types' | 20100610 | |||
| 24 | Constant | Private | Type reference (TYPE) | STRING | 'unbounded' | 20100401 | |||
| 25 | Constant | Private | Type reference (TYPE) | I | -1 | 20100401 | |||
| 26 | Constant | Private | Type reference (TYPE) | STRING | 'value' | 20100610 | |||
| 27 | Constant | Private | Type reference (TYPE) | STRING | 'xmlns' | 20100401 | |||
| 28 | Constant | Private | Type reference (TYPE) | STRING | 'xsd' | 20100401 | |||
| 29 | Constant | Private | Type reference (TYPE) | STRING | 'xsd:' | 20100401 | |||
| 30 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_IXML | IF_IXML | 20100806 | |||
| 31 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_IXML_STREAM_FACTORY | IF_IXML_STREAM_FACTORY | 20100806 | |||
| 32 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SEA_SEW_ESR_READER | 20100401 | ||||
| 33 | Instance attribute | Private | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20100520 | |||
| 34 | Instance attribute | Public | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20100806 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Inserts the parsed restrictions into the nodes table | 20100610 | |
| 2 | Instance method | Public | Constructor | Instance initialization with WSDL | 20100401 | |
| 3 | Instance method | Private | Method | Searches the node 'types' recursively | 20100610 | |
| 4 | Instance method | Public | Method | Returns a table with all dte elements for the given DTE | 20100401 | |
| 5 | Instance method | Private | Method | Gets First Node (After Root) | 20100806 | |
| 6 | Instance method | Private | Method | From a string like p4:ActionCode gets name and namespace | 20100610 | |
| 7 | Instance method | Private | Method | Parses a string to determine the data type name and namespac | 20100401 | |
| 8 | Instance method | Private | Method | Checks if the given node has 'group' and/or 'attributeGroup' | 20100610 | |
| 9 | Instance method | Private | Method | Parses Stream to DOM (Internal Routine) | 20100806 | |
| 10 | Instance method | Private | Method | Parses 'complexType' node to find the data type name and ns | 20100610 | |
| 11 | Instance method | Private | Method | Parses 'annotation' node to extract the description | 20100610 | |
| 12 | Instance method | Private | Method | Parses an 'element' or 'attribute' node under 'schema' node | 20100406 | |
| 13 | Instance method | Private | Method | Parses schema with children 'group' and/or 'attributeGroup' | 20100610 | |
| 14 | Instance method | Private | Method | Parses 'simpleType' node to extract the restrictions | 20100610 | |
| 15 | Instance method | Private | Method | Parses 'schema' node containing details of a foreign types | 20100610 | |
| 16 | Instance method | Private | Method | Parses XML Stream (XString) to DOM | 20100806 |
Events
Class CL_SEA_SEW_XML_PARSER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_NAMESPACES | Private | See coding | 20100401 | tt_namespaces TYPE STANDARD TABLE OF ty_namespaces
|
||
| 2 | TY_NAMESPACES | Private | See coding | 20100401 | BEGIN OF ty_namespaces,
key TYPE string,
name TYPE string,
END OF ty_namespaces
|
Method Signatures
Method ADD_RESTRICTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_NODE_TABLE | Call by reference | Type reference (TYPE) | SEA_DTE_ELEMENT_T | Table of DTE elements | 20100610 | |||
| 2 | IT_RESTRICTIONS | Call by reference | Type reference (TYPE) | SEA_TYPE_RESTRICTION_T | Data types with restrictions | 20100610 |
Method ADD_RESTRICTIONS on class CL_SEA_SEW_XML_PARSER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_READER | Call by reference | Object reference (TYPE REF TO) | CL_SEA_SEW_ESR_READER | CL_SEA_SEW_ESR_READER_LOCAL | 20100401 | |||
| 2 | IV_WSDL | Call by reference | Type reference (TYPE) | XSTRING | WSDL of the DTE as it is returned by the ESR API | 20100407 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base exception thrown during ES enhancement process | 20100503 |
Method FIND_TYPES_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_TYPES_NODE | Value transfer | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE with name 'types' | 20100610 |
Method FIND_TYPES_NODE on class CL_SEA_SEW_XML_PARSER has no exception.
Method GET_DTE_ELEMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESTRICTIONS | Call by reference | Type reference (TYPE) | SEA_TYPE_RESTRICTION_T | used by screen 0151 | 20101014 | |||
| 2 | IV_RESTR_FOR_DT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | used by screen 0151 | 20101014 | ||
| 3 | RT_DTE_ELEMENTS | Value transfer | Type reference (TYPE) | SEA_DTE_ELEMENT_T | Table with DTE elements | 20100401 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base exception thrown during ES enhancement process | 20100407 |
Method GET_FIRST_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE | Value transfer | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE | 20100806 |
Method GET_FIRST_NODE on class CL_SEA_SEW_XML_PARSER has no exception.
Method GET_NAME_AND_NAMESPACE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_NAME | Call by reference | Type reference (TYPE) | STRING | Name of the data type | 20100610 | |||
| 2 | EV_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | Namespace of the data type | 20100610 | |||
| 3 | IT_NAMESPACE | Call by reference | Type reference (TYPE) | TT_NAMESPACES | Table with namespace pairs (p3->Namespace1, p4->Namespace2) | 20100610 | |||
| 4 | IV_ATTR_VALUE | Call by reference | Type reference (TYPE) | STRING | Attribute value conatining DT name and namespace | 20100610 |
Method GET_NAME_AND_NAMESPACE on class CL_SEA_SEW_XML_PARSER has no exception.
Method GET_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_RESULT | Value transfer | Type reference (TYPE) | SEA_DTE_ELEMENT_S | DTE element info | 20100401 | |||
| 2 | IT_NAMESPACE | Call by reference | Type reference (TYPE) | TT_NAMESPACES | Table with namespace pairs (p3->Namespace1, p4->Namespace2) | 20100401 | |||
| 3 | IV_ATTR_VALUE | Call by reference | Type reference (TYPE) | STRING | Attribute value conatining DT name and namespace | 20100401 | |||
| 4 | IV_XMLNS | Call by reference | Type reference (TYPE) | STRING | Current namespace | 20100401 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base exception thrown during ES enhancement process | 20100407 |
Method IS_MAIN_SCHEMA_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE node to check | 20100610 | |||
| 2 | RV_IS_MAIN_SCHEMA | Value transfer | Type reference (TYPE) | ABAP_BOOL | abap_true if it's a main schema node, abap_false otherwise | 20100610 |
Method IS_MAIN_SCHEMA_NODE on class CL_SEA_SEW_XML_PARSER has no exception.
Method PARSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETCODE | Value transfer | Type reference (TYPE) | SYSUBRC | Return Value of ABAP Statements | 20100806 | |||
| 2 | STREAM | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ISTREAM | IF_IXML_ISTREAM | 20100806 |
Method PARSE on class CL_SEA_SEW_XML_PARSER has no exception.
Method PARSE_COMPLEX_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_TYPE_NAME | Call by reference | Type reference (TYPE) | STRING | Name of the data type | 20100610 | |||
| 2 | EV_TYPE_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | Namespace of the data type | 20100610 | |||
| 3 | IO_COMPLEX_TYPE_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | 'complexType' IF_IXML_NODE | 20100610 | |||
| 4 | IT_NSPACES | Call by reference | Type reference (TYPE) | TT_NAMESPACES | Table with namespace pairs (p3->Namespace1, p4->Namespace2) | 20100610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base exception thrown during ES enhancement process | 20100610 |
Method PARSE_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ANNOTATION_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | 'annotation' IF_IXML_NODE | 20100610 | |||
| 2 | RV_DESCRIPTION | Value transfer | Type reference (TYPE) | STRING | Description of an element | 20100610 |
Method PARSE_DESCRIPTION on class CL_SEA_SEW_XML_PARSER has no exception.
Method PARSE_ELEMENT_OR_ATTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ELEMENTS | Call by reference | Type reference (TYPE) | SEA_DTE_ELEMENT_T | Table with DTE elements | 20100406 | |||
| 2 | IO_XML_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | Node 'element' or 'attribute' | 20100406 | |||
| 3 | IT_NSPACES | Call by reference | Type reference (TYPE) | TT_NAMESPACES | Table with namespace pairs (p3->Namespace1, p4->Namespace2) | 20100407 | |||
| 4 | IV_NODE_NAME | Call by reference | Type reference (TYPE) | STRING | The name of the node | 20100610 | |||
| 5 | IV_XMLNS_NSPACE | Call by reference | Type reference (TYPE) | STRING | Current namespace | 20100407 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base exception thrown during ES enhancement process | 20100407 |
Method PARSE_MAIN_SCHEMA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DTE_ELEMENTS | Value transfer | Type reference (TYPE) | SEA_DTE_ELEMENT_T | Table of DTE elements | 20100610 | |||
| 2 | CT_RESTRICTIONS | Value transfer | Type reference (TYPE) | SEA_TYPE_RESTRICTION_T | Data types with restrictions | 20100610 | |||
| 3 | IO_SCHEMA | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | 'schema' IF_IXML_NODE | 20100610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base exception thrown during ES enhancement process | 20100610 |
Method PARSE_RESTRICTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RESTRICTIONS | Call by reference | Type reference (TYPE) | SEA_RESTRICTION_T | Table with restrictions | 20100610 | |||
| 2 | EV_BASE | Call by reference | Type reference (TYPE) | STRING | Value of attribute 'base' of 'restriction' node | 20100610 | |||
| 3 | EV_TYPE | Call by reference | Type reference (TYPE) | STRING | Value of attribute 'name' of 'simpleType' node | 20100610 | |||
| 4 | IO_SIMPLE_TYPE_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | 'simpleType' IF_IXML_NODE | 20100610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base exception thrown during ES enhancement process | 20100610 |
Method PARSE_SETTINGS_SCHEMA_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RESTRICTIONS | Call by reference | Type reference (TYPE) | SEA_TYPE_RESTRICTION_T | Data types with restrictions | 20100610 | |||
| 2 | IO_SCHEMA | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | 'schema' IF_IXML_NODE | 20100610 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base exception thrown during ES enhancement process | 20100610 |
Method PARSE_XSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETCODE | Value transfer | Type reference (TYPE) | SYSUBRC | Return Code | 20100806 | |||
| 2 | STREAM | Call by reference | Type reference (TYPE) | XSTRING | Stream (XString) | 20100806 |
Method PARSE_XSTRING on class CL_SEA_SEW_XML_PARSER has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |