SAP ABAP Class CL_GDV_READER_SCHEMA_METHOD (Parse XML to ABAP structure)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TWB-TST-ECA (Application Component) eCATT Extended Computer Aided Test Tool
⤷
SECATT_GDV_SCHEMA_METHOD (Package) Generic Data Verifier - Schema Method
⤷
⤷
Properties
| Class | CL_GDV_READER_SCHEMA_METHOD | |
| Short Description | Parse XML to ABAP structure | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | GDV_SCHEMA_METHOD | |
| Program status | ||
| Category | 0 | |
| Package | SECATT_GDV_SCHEMA_METHOD | Generic Data Verifier - Schema Method |
| Created | 20110121 | SAP |
| Last change | 20130531 | 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_GDV_READER_SCHEMA_METHOD has no interface implemented.
Friends
Class CL_GDV_READER_SCHEMA_METHOD has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_GDV_MESSAGE_WRITER | 20110121 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SXML_STRING_READER | SXML Reader Factory | 20110121 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GDV_XML_DATA_STATISTICS | 20110121 | ||||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_GDV_XML_SCHEMA | 20110121 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | GDV_TT_XML_ELEMENT | 20110121 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | GDV_TT_XML_ELEMENT | 20110121 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | STRING | 20110121 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | STRING | 20110121 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20110214 | ||
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20110121 | |
| 3 | Instance method | Private | Method | Get Attribute | 20110121 | |
| 4 | Instance method | Public | Method | Get Iterator | 20110121 | |
| 5 | Instance method | Private | Method | Get path of node | 20110121 | |
| 6 | Instance method | Public | Method | Get statistics according to XML schema | 20110121 | |
| 7 | Instance method | Public | Method | Get name of top tag | 20110121 | |
| 8 | Instance method | Public | Method | Get XML SCHEMA | 20110121 | |
| 9 | Instance method | Private | Method | Parse XML structure | 20110121 | |
| 10 | Instance method | Public | Method | Set XML content | 20110121 | |
| 11 | Instance method | Public | Method | Set XSD content | 20110121 |
Events
Class CL_GDV_READER_SCHEMA_METHOD has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | PATH | Private | See coding | 20110204 | path type standard table of pathnode with default key
|
||
| 2 | PATHNODE | Private | See coding | 20110204 | begin of pathnode,
qname type qualifiedname,
prefix type string,
child_position type i,
end of pathnode
|
||
| 3 | QUALIFIEDNAME | Private | See coding | 20110204 | begin of qualifiedname,
name type string,
namespace type string,
end of qualifiedname
|
Method Signatures
Method CLEAN_STRUCTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_STRING | Call by reference | Type reference (TYPE) | STRING | 20110214 |
Method CLEAN_STRUCTURE on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_REF_MESSAGE_WRITER | Call by reference | Object reference (TYPE REF TO) | IF_GDV_MESSAGE_WRITER | Message Writer Interface | 20110121 |
Method CONSTRUCTOR on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method GET_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | STRING | 20110121 | ||||
| 2 | I_PATH | Call by reference | Type reference (TYPE) | STRING | 20110121 | ||||
| 3 | I_VALUE | Call by reference | Type reference (TYPE) | STRING | 20110121 | ||||
| 4 | R_STR_ATTRIBUTE | Value transfer | Type reference (TYPE) | GDV_S_XML_ATTRIBUTE | Attribute for XML element | 20110121 |
Method GET_ATTRIBUTE on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method GET_ITERATOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_ITERATOR | Value transfer | Object reference (TYPE REF TO) | IF_GDV_ITERATOR | Iterator for xml from ESOA | 20110121 |
Method GET_ITERATOR on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method GET_NODE_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_XML_START_PATH_DEPTH | Call by reference | Type reference (TYPE) | I | 20110121 | ||||
| 2 | R_PATH | Value transfer | Type reference (TYPE) | STRING | node path | 20110121 |
Method GET_NODE_PATH on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method GET_STATISTICS Signature
Method GET_STATISTICS on class CL_GDV_READER_SCHEMA_METHOD has no parameter.
Method GET_STATISTICS on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method GET_TOP_TAG_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_XML_CONTENT | Call by reference | Type reference (TYPE) | STRING | 20110121 | ||||
| 2 | R_TOP_TAG_NAME | Value transfer | Type reference (TYPE) | STRING | 20110121 |
Method GET_TOP_TAG_NAME on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method GET_XML_SCHEMA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_SCHEMA | Value transfer | Object reference (TYPE REF TO) | IF_GDV_XML_SCHEMA | xml schema/ type information | 20110121 |
Method GET_XML_SCHEMA on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method PARSE_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DETERMINE_TOP_TAG_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110121 |
Method PARSE_XML on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method SET_XML_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_XML_CONTENT | Call by reference | Type reference (TYPE) | STRING | 20110121 |
Method SET_XML_CONTENT on class CL_GDV_READER_SCHEMA_METHOD has no exception.
Method SET_XSD_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ANALYSE_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110121 | ||||
| 2 | I_CONTENT | Call by reference | Type reference (TYPE) | STRING | 20110121 | ||||
| 3 | I_TOP_TAG_NAME | Call by reference | Type reference (TYPE) | STRING | 20110121 |
Method SET_XSD_CONTENT on class CL_GDV_READER_SCHEMA_METHOD has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |