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 MC_LINE_SIZE Constant Private Type reference (TYPE) I 255 20050118
2 MC_NAMESPACE_CHECK Constant Private Type reference (TYPE) I 1 20050118
3 MC_NAMESPACE_OFF Constant Private Type reference (TYPE) I 3 20050118
4 MC_NAMESPACE_ON Constant Private Type reference (TYPE) I 2 20050118
5 MC_VALIDATION_DTD Constant Private Type reference (TYPE) I 4 Validation if a DTD Is Specified 20050118
6 MC_VALIDATION_OFF Constant Private Type reference (TYPE) I 5 No Validation of the XML Document with the DTD 20050118
7 MC_VALIDATION_ON Constant Private Type reference (TYPE) I 6 Validation of the XML Document with the DTD 20050118
8 MR_DOCUMENT Instance attribute Private Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20050118
9 MR_ISTREAM Instance attribute Private Object reference (TYPE REF TO) IF_IXML_ISTREAM IF_IXML_ISTREAM 20050118
10 MR_IXML Instance attribute Private Object reference (TYPE REF TO) IF_IXML IF_IXML 20050118
11 MR_PARSER Instance attribute Private Object reference (TYPE REF TO) IF_IXML_PARSER IF_IXML_PARSER 20050118
12 MR_STREAMFACTORY Instance attribute Private Object reference (TYPE REF TO) IF_IXML_STREAM_FACTORY IF_IXML_STREAM_FACTORY 20050118
13 MR_TABLE Instance attribute Private Object reference (TYPE REF TO) CL_SALV_TABLE Basis Class for Simple Tables 20050120
14 MT_XML_TABLE Instance attribute Private Type reference (TYPE) TY_XML_TAB Table for the Loading of a File 20050118
15 M_FILENAME Instance attribute Private Type reference (TYPE) STRING File Name of the Document 20050118
16 M_XMLDATA Instance attribute Private Type reference (TYPE) XSTRING Document as X String 20050118
17 M_XML_TABLESIZE Instance attribute Private Type reference (TYPE) I Length of file 20050118
Methods
# Method Level Visibility Method type Description Created on
1 CREATE_DOM_DOCUMENT Instance method Public Method Format DOM for Display as a Dynamic Document 20050119
2 GET_PARSE_ERRORS Instance method Private Method Display Errors from the Parsing Process 20050119
3 ITERRATE_DOM_TO_TABLE Instance method Private Method Convert DOM to Table 20050118
4 MY_XSTRLEN Static method Public Method Determine Length of a RAW Value 20070328
5 PARSE_DOCUMENT_FROM_FILE Instance method Public Method Parse XML Document from File 20050118
6 PARSE_DOCUMENT_FROM_TABLE Instance method Public Method Parse XML Document from File 20050119
7 PARSE_PREPARATION Instance method Private Method Preparations for XML Parsing 20050118
8 REPLACE_SPECIAL_CHARACTER Static method Public Method Replace XML Special Characters 20050407
9 SHOW_DOM_DOCUMENT Instance method Public Method Display DOM as Dynamic Document 20050119
10 SHOW_PARSE_ERRORS Instance method Public Method Display Errors from the Parsing Process 20050118
11 UPLOAD_DOCUMENT 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 Importing 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 Returning 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 Changing CT_ELEMENTS Call by reference Type reference (TYPE) LAW_T_XML_ELEMENT LAW: Tabelle der Elemente eines XML-Dokuments 20050119
2 Importing 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 Returning E_SIZE Value transfer Type reference (TYPE) I Anzahl Bytes in der Tabelle 20070328
2 Importing 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 Exporting ET_ELEMENTS Call by reference Type reference (TYPE) LAW_T_XML_ELEMENT LAW: Tabelle der Elemente eines XML-Dokuments 20050119
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20050119
3 Importing I_ASCDUMP Call by reference Type reference (TYPE) SAP_BOOL ' ' Debug: Textanzeige 20050118
4 Importing I_FILENAME Call by reference Type reference (TYPE) STRING 20050118
5 Importing I_HEXDUMP Call by reference Type reference (TYPE) SAP_BOOL ' ' Debug: Hex-Anzeige 20050118
6 Importing 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 Exporting ET_ELEMENTS Call by reference Type reference (TYPE) LAW_T_XML_ELEMENT LAW: Tabelle der Elemente eines XML-Dokuments 20050119
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAPIRETTAB Tabelle mit BAPI Return Informationen 20050119
3 Importing I_ASCDUMP Call by reference Type reference (TYPE) SAP_BOOL ' ' Debug: Textanzeige 20050119
4 Importing I_HEXDUMP Call by reference Type reference (TYPE) SAP_BOOL ' ' Debug: Hex-Anzeige 20050119
5 Importing I_TABLE Call by reference Type reference (TYPE) TABLE Tabelle mit XML-Dokument 20050119
6 Importing I_TABLESIZE Call by reference Type reference (TYPE) I Länge der Tabelle 20050119
7 Importing 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 Importing I_DEFAULT_ATTR Call by reference Type reference (TYPE) SAP_BOOL Standard Attribute verwnden 20050118
2 Importing I_NAMESPACE_MODE Call by reference Type reference (TYPE) I Modus der Namensraum Prüfung 20050118
3 Importing I_TABLE Call by reference Type reference (TYPE) TABLE Tabelle mit XML-Dokument 20050119
4 Importing I_TABLESIZE Call by reference Type reference (TYPE) I Lange der Tabelle 20050119
5 Importing I_VALIDATION_MODE Call by reference Type reference (TYPE) I Modus der XML Validierung 20050118
6 Returning 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 Returning E_VALUE Value transfer Type reference (TYPE) STRING 20050407
2 Importing 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