SAP ABAP Class CL_LAW_XML_HANDLING (Handling of XML Documents)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-LIM (Application Component) License Measurement
⤷
SLIM2 (Package) License Administration Workbench
⤷
⤷
Properties
| Class | CL_LAW_XML_HANDLING | |
| Short Description | Handling of XML Documents | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLIM2 | License Administration Workbench |
| Created | 20050118 | SAP |
| Last change | 20070911 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_LAW_XML_HANDLING has no forward declaration.
Interfaces
Class CL_LAW_XML_HANDLING has no interface implemented.
Friends
Class CL_LAW_XML_HANDLING has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | I | 255 | 20050118 | |||
| 2 | Constant | Private | Type reference (TYPE) | I | 1 | 20050118 | |||
| 3 | Constant | Private | Type reference (TYPE) | I | 3 | 20050118 | |||
| 4 | Constant | Private | Type reference (TYPE) | I | 2 | 20050118 | |||
| 5 | Constant | Private | Type reference (TYPE) | I | 4 | Validation if a DTD Is Specified | 20050118 | ||
| 6 | Constant | Private | Type reference (TYPE) | I | 5 | No Validation of the XML Document with the DTD | 20050118 | ||
| 7 | Constant | Private | Type reference (TYPE) | I | 6 | Validation of the XML Document with the DTD | 20050118 | ||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20050118 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_ISTREAM | IF_IXML_ISTREAM | 20050118 | |||
| 10 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML | IF_IXML | 20050118 | |||
| 11 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_PARSER | IF_IXML_PARSER | 20050118 | |||
| 12 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_STREAM_FACTORY | IF_IXML_STREAM_FACTORY | 20050118 | |||
| 13 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SALV_TABLE | Basis Class for Simple Tables | 20050120 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | TY_XML_TAB | Table for the Loading of a File | 20050118 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | STRING | File Name of the Document | 20050118 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | XSTRING | Document as X String | 20050118 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | I | Length of file | 20050118 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Format DOM for Display as a Dynamic Document | 20050119 | |
| 2 | Instance method | Private | Method | Display Errors from the Parsing Process | 20050119 | |
| 3 | Instance method | Private | Method | Convert DOM to Table | 20050118 | |
| 4 | Static method | Public | Method | Determine Length of a RAW Value | 20070328 | |
| 5 | Instance method | Public | Method | Parse XML Document from File | 20050118 | |
| 6 | Instance method | Public | Method | Parse XML Document from File | 20050119 | |
| 7 | Instance method | Private | Method | Preparations for XML Parsing | 20050118 | |
| 8 | Static method | Public | Method | Replace XML Special Characters | 20050407 | |
| 9 | Instance method | Public | Method | Display DOM as Dynamic Document | 20050119 | |
| 10 | Instance method | Public | Method | Display Errors from the Parsing Process | 20050118 | |
| 11 | Instance method | Private | Method | Load Document into Table | 20050118 |
Events
Class CL_LAW_XML_HANDLING has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_BAPILAWRAW_TAB | Public | See coding | Table Type for Field BAPILAWRAW | 20070326 | TY_bapilawraw_TAB type standard TABLE of bapilawraw
|
|
| 2 | TY_XML_LINE | Private | See coding | Row Structure for Loading the File | 20050118 | BEGIN OF ty_xml_line,
raw(255) TYPE x,
END OF ty_xml_line
|
|
| 3 | TY_XML_TAB | Private | See coding | Table for the Loading of a File | 20050118 | ty_xml_tab type table of ty_xml_line
|
Method Signatures
Method CREATE_DOM_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_DD_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | CL_DD_DOCUMENT | Dynamische Dokumente: Dokument | 20050119 |
Method CREATE_DOM_DOCUMENT on class CL_LAW_XML_HANDLING has no exception.
Method GET_PARSE_ERRORS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Value transfer | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20050119 |
Method GET_PARSE_ERRORS on class CL_LAW_XML_HANDLING has no exception.
Method ITERRATE_DOM_TO_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ELEMENTS | Call by reference | Type reference (TYPE) | LAW_T_XML_ELEMENT | LAW: Tabelle der Elemente eines XML-Dokuments | 20050119 | |||
| 2 | IR_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE | 20050118 |
Method ITERRATE_DOM_TO_TABLE on class CL_LAW_XML_HANDLING has no exception.
Method MY_XSTRLEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SIZE | Value transfer | Type reference (TYPE) | I | Anzahl Bytes in der Tabelle | 20070328 | |||
| 2 | I_VALUE | Call by reference | Type reference (TYPE) | X | XML-Stream | 20070328 |
Method MY_XSTRLEN on class CL_LAW_XML_HANDLING has no exception.
Method PARSE_DOCUMENT_FROM_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ELEMENTS | Call by reference | Type reference (TYPE) | LAW_T_XML_ELEMENT | LAW: Tabelle der Elemente eines XML-Dokuments | 20050119 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20050119 | |||
| 3 | I_ASCDUMP | Call by reference | Type reference (TYPE) | SAP_BOOL | ' ' | Debug: Textanzeige | 20050118 | ||
| 4 | I_FILENAME | Call by reference | Type reference (TYPE) | STRING | 20050118 | ||||
| 5 | I_HEXDUMP | Call by reference | Type reference (TYPE) | SAP_BOOL | ' ' | Debug: Hex-Anzeige | 20050118 | ||
| 6 | I_TREE | Call by reference | Type reference (TYPE) | SAP_BOOL | ' ' | Debug: Baumanzeige | 20050118 |
Method PARSE_DOCUMENT_FROM_FILE on class CL_LAW_XML_HANDLING has no exception.
Method PARSE_DOCUMENT_FROM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ELEMENTS | Call by reference | Type reference (TYPE) | LAW_T_XML_ELEMENT | LAW: Tabelle der Elemente eines XML-Dokuments | 20050119 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20050119 | |||
| 3 | I_ASCDUMP | Call by reference | Type reference (TYPE) | SAP_BOOL | ' ' | Debug: Textanzeige | 20050119 | ||
| 4 | I_HEXDUMP | Call by reference | Type reference (TYPE) | SAP_BOOL | ' ' | Debug: Hex-Anzeige | 20050119 | ||
| 5 | I_TABLE | Call by reference | Type reference (TYPE) | TABLE | Tabelle mit XML-Dokument | 20050119 | |||
| 6 | I_TABLESIZE | Call by reference | Type reference (TYPE) | I | Länge der Tabelle | 20050119 | |||
| 7 | I_TREE | Call by reference | Type reference (TYPE) | SAP_BOOL | ' ' | Debug: Baumanzeige | 20050119 |
Method PARSE_DOCUMENT_FROM_TABLE on class CL_LAW_XML_HANDLING has no exception.
Method PARSE_PREPARATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DEFAULT_ATTR | Call by reference | Type reference (TYPE) | SAP_BOOL | Standard Attribute verwnden | 20050118 | |||
| 2 | I_NAMESPACE_MODE | Call by reference | Type reference (TYPE) | I | Modus der Namensraum Prüfung | 20050118 | |||
| 3 | I_TABLE | Call by reference | Type reference (TYPE) | TABLE | Tabelle mit XML-Dokument | 20050119 | |||
| 4 | I_TABLESIZE | Call by reference | Type reference (TYPE) | I | Lange der Tabelle | 20050119 | |||
| 5 | I_VALIDATION_MODE | Call by reference | Type reference (TYPE) | I | Modus der XML Validierung | 20050118 | |||
| 6 | O_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | Returncode | 20050118 |
Method PARSE_PREPARATION on class CL_LAW_XML_HANDLING has no exception.
Method REPLACE_SPECIAL_CHARACTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_VALUE | Value transfer | Type reference (TYPE) | STRING | 20050407 | ||||
| 2 | I_ENTITY | Call by reference | Type reference (TYPE) | C | 20050407 |
Method REPLACE_SPECIAL_CHARACTER on class CL_LAW_XML_HANDLING has no exception.
Method SHOW_DOM_DOCUMENT Signature
Method SHOW_DOM_DOCUMENT on class CL_LAW_XML_HANDLING has no parameter.
Method SHOW_DOM_DOCUMENT on class CL_LAW_XML_HANDLING has no exception.
Method SHOW_PARSE_ERRORS Signature
Method SHOW_PARSE_ERRORS on class CL_LAW_XML_HANDLING has no parameter.
Method SHOW_PARSE_ERRORS on class CL_LAW_XML_HANDLING has no exception.
Method UPLOAD_DOCUMENT Signature
Method UPLOAD_DOCUMENT on class CL_LAW_XML_HANDLING has no parameter.
Method UPLOAD_DOCUMENT on class CL_LAW_XML_HANDLING has no exception.
History
| Last changed by/on | SAP | 20070911 |
| SAP Release Created in | 700 |