SAP ABAP Class CL_HR99S00_XML_HANDLER (CL_HR99S00_XML_HANDLER)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX-RS (Application Component) Reuse Services for Country Development
     P99S (Package) Southern Europe Basis
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_HR99S00_XML_HANDLER_SPEC1 Special XML-Handler1 20030722
Properties
Class CL_HR99S00_XML_HANDLER  
Short Description CL_HR99S00_XML_HANDLER    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package P99S   Southern Europe Basis 
Created 20021021   SAP 
Last change 20110809   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 P99SG Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_HR99S00_XML_HANDLER has no interface implemented.
Friends
Class CL_HR99S00_XML_HANDLER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BUFFER Instance attribute Protected Object reference (TYPE REF TO) CL_HR99S00_XML_SPLITTER Text Buffer 20021021
2 CO_EVENT_ATTRIBUTE_POST Constant Public Type reference (TYPE) P99SG_XML_EVENT_T 4 Event 20021021
3 CO_EVENT_ELEMENT_POST Constant Public Type reference (TYPE) P99SG_XML_EVENT_T 8 Event 20021021
4 CO_EVENT_ELEMENT_PRE Constant Public Type reference (TYPE) P99SG_XML_EVENT_T 1 Event 20021021
5 CO_EVENT_TEXT_POST Constant Public Type reference (TYPE) P99SG_XML_EVENT_T 2 Event 20021021
6 CO_STATUS_INITIAL Constant Protected Type reference (TYPE) X 0 Nothing Happened 20030123
7 CO_STATUS_OPENED Constant Protected Type reference (TYPE) X 1 XML Tag Opened 20030123
8 CURRENT_ID Instance attribute Protected Type reference (TYPE) I Current Node ID 20021021
9 ENTITY_CONVERSION Instance attribute Protected Type reference (TYPE) C Entity Conversion 20030616
10 LAST_EVENT Instance attribute Protected Type reference (TYPE) X Last Event 20021021
11 NUM_PARSER_ERRORS Instance attribute Protected Type reference (TYPE) I Number of Parser Errors 20021021
12 PARSER_ERROR_LIST Instance attribute Protected Type reference (TYPE) P99SG_XML_OUT_TABLE_T Parser Error List 20021021
13 PARSER_FINISHED Instance attribute Protected Type reference (TYPE) C ' ' Parser Termination Indicator 20021021
14 PARSER_STACK Instance attribute Protected Object reference (TYPE REF TO) CL_HR99S00_XML_STACK Parser Stack 20021021
15 STACK Instance attribute Protected Object reference (TYPE REF TO) CL_HR99S00_XML_STACK Renderer Stack 20021021
16 SUBSCRIBED_EVENTS Instance attribute Protected Type reference (TYPE) X Subscribed Events 20021021
17 TEMSE_NAME Instance attribute Public Type reference (TYPE) RPTSTYPE-TSOBJ TemSe Name 20091216
18 WA_XML_STORE Instance attribute Protected Type reference (TYPE) P99SG_XML_NODE_T XML Tree Work Area 20021021
19 XML_ATTR_NAME Instance attribute Protected Type reference (TYPE) P99SG_XML_BUFFER_T Name of the XML Attribute 20021021
20 XML_FILE_TAB Instance attribute Protected Type reference (TYPE) P99SG_XML_OUT_TABLE_T XML File Container 20021021
21 XML_STORE Instance attribute Protected Type reference (TYPE) P99SG_XML_TABLE_T XML Tree Storage 20021021
22 XML_STRING Instance attribute Protected Type reference (TYPE) P99SG_XML_BUFFER_T Temp. XML String 20021021
23 XML_TAG_NAME Instance attribute Protected Type reference (TYPE) P99SG_XML_BUFFER_T Name of XML Tag 20021021
24 XML_VALUE Instance attribute Protected Type reference (TYPE) P99SG_XML_BUFFER_T Value of XML Tag/Attribute 20021021
Methods
# Method Level Visibility Method type Description Created on
1 ADD_NODE Instance method Public Method Add a Node to the Tree 20021021
2 ADD_NODE_ATTRIBUTES Instance method Public Method Add Attributes to a Node 20021216
3 CLEAR_XML Instance method Public Method Clear XML Output 20030127
4 COMPRESS_EMPTY_TAGS Instance method Public Method Compress Empty XML Tags 20031211
5 CONSTRUCTOR Instance method Public Method CONSTRUCTOR 20021021
6 CONVERT_ENTITIES Instance method Protected Method Convert Mandatory XML Entities 20030602
7 CREATE_DOCUMENT Instance method Public Method Create an Initial XML Tree 20021021
8 DELETE_PARTIAL_TREE Instance method Public Method Delete a Partial Tree Originating at a Given Node 20030123
9 EXPORT_TO_FILE Instance method Public Method Export XML to a File 20021021
10 FILL_BUFFER Instance method Public Method Fill the XML Buffer. Usable for Streaming XML Input 20021127
11 FLUSH Instance method Public Method Flush a Tree at Node N->Render+Delete w/ Top Nodes 20030123
12 FLUSH_CHILDREN Instance method Public Method Flush All Children of a Node (Leaves That Node Open) 20030129
13 FLUSH_SIBLINGS Instance method Public Method Flush Siblings of a Node 20030129
14 GET_CHILDREN Instance method Public Method Get the Direct Children of a Node. (Partial Tree Deletion) 20030123
15 GET_EVENT_TYPE Instance method Public Method Get the Type of an Event Raised By the Parser 20021021
16 GET_NAME Instance method Public Method Get the Name of the Tag/Attribute Currently Parsed 20021021
17 GET_NEXT_ATTRIBUTE Instance method Protected Method Get the Next Attribute of the Current Node (Parser) 20021021
18 GET_NODE_ATTRIBUTES Instance method Public Method Get a Node's Attributes 20021216
19 GET_NODE_VALUE Instance method Public Method Get a Node's Value 20021216
20 GET_NUM_PARSER_ERRORS Instance method Public Method Get the Number of Parser Errors 20021021
21 GET_PARSER_ERROR_LIST Instance method Public Method Get a List of Parser Errors 20021021
22 GET_VALUE Instance method Public Method Get the Values of the Tag/Attribute Currently Parsed 20021021
23 GET_XML_OUTPUT Instance method Public Method Get a Table with the Rendered Tree 20021021
24 IMPORT_FROM_FILE Instance method Public Method Import XML from a File 20021021
25 MARK_NODE Instance method Protected Method Mark a Node As Opened (Flushing) 20030123
26 PARSE_EVENT Instance method Public Method Parse the Next Event 20021021
27 POPNCHECK Instance method Protected Method Pop the Parser Stack and Perform Some Checks (Parser) 20021021
28 RENDER Instance method Public Method Render a Tree into XML 20021021
29 RESET Instance method Public Method Reset the whole Thing 20021021
30 SET_EVENT_SUBSCRIPTION Instance method Public Method Subscribe to Parser Events 20021021
31 SET_NODE_ATTRIBUTES Instance method Public Method Set the Attributes of a Node 20021216
32 SET_NODE_VALUE Instance method Public Method Set a Node's Value 20021216
33 SET_XML_OUTPUT Instance method Public Method Set a table with the rendered tree 20091117
Events
Class CL_HR99S00_XML_HANDLER has no event.
Types
Class CL_HR99S00_XML_HANDLER has no local type.
Method Signatures

Method ADD_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTENT Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T CONTENT 20021021
2 Importing NAME Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T NAME 20021021
3 Exporting NEW_ID Call by reference Type reference (TYPE) I NEW_ID 20021021
4 Importing PARENT Call by reference Type reference (TYPE) I PARENT 20021021
# Exception Resumable Description Created on
1 PARENT_NOT_FOUND PARENT_NOT_FOUND 20021021
2 XML_TREE_CORRUPT XML_TREE_CORRUPT 20021021

Method ADD_NODE_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTR Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T ATTR 20021216
2 Importing NAME Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T Name 20030729
3 Importing NODE Call by reference Type reference (TYPE) I NODE 20021216
# Exception Resumable Description Created on
1 NODE_NOT_FOUND NODE_NOT_FOUND 20021216

Method CLEAR_XML Signature

Method CLEAR_XML on class CL_HR99S00_XML_HANDLER has no parameter.
Method CLEAR_XML on class CL_HR99S00_XML_HANDLER has no exception.

Method COMPRESS_EMPTY_TAGS Signature

Method COMPRESS_EMPTY_TAGS on class CL_HR99S00_XML_HANDLER has no parameter.
Method COMPRESS_EMPTY_TAGS on class CL_HR99S00_XML_HANDLER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONVERT_ENTITIES Value transfer Type reference (TYPE) C ' ' Entity conversion 20030616

Method CONSTRUCTOR on class CL_HR99S00_XML_HANDLER has no exception.

Method CONVERT_ENTITIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DIRECTION Value transfer Type reference (TYPE) C 'I'mport or 'E'xport XML 20030602
2 Changing XML_VALUE Value transfer Type reference (TYPE) P99SG_XML_CONTENT_T XML value for conversion 20030602

Method CONVERT_ENTITIES on class CL_HR99S00_XML_HANDLER has no exception.

Method CREATE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ENCODING Value transfer Type reference (TYPE) P99SG_XML_CONTENT_T 'UTF-8' Character encoding. 20030526
2 Exporting ROOT_ID Call by reference Type reference (TYPE) I ROOT_ID 20021021
# Exception Resumable Description Created on
1 DOCUMENT_NOT_INITIAL DOCUMENT_NOT_INITIAL 20021021

Method DELETE_PARTIAL_TREE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE Value transfer Type reference (TYPE) P99SG_XML_NODE_T-ID Node to delete 20030123

Method DELETE_PARTIAL_TREE on class CL_HR99S00_XML_HANDLER has no exception.

Method EXPORT_TO_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLOSETEMSE Call by reference Type reference (TYPE) C Close TemSe file 20091215
2 Importing DIALOG Call by reference Type reference (TYPE) C 'X' DIALOG 20021021
3 Importing DIRECTORY Call by reference Type reference (TYPE) C 'C:TEMP' DIRECTORY 20021021
4 Importing FILENAME Call by reference Type reference (TYPE) C 'test.xml' FILENAME 20021021
5 Exporting FULLPATH Call by reference Type reference (TYPE) RLGRAP-FILENAME filename 20030221
6 Importing ITEM Value transfer Type reference (TYPE) STRING Window title 20031121
7 Importing MODE Call by reference Type reference (TYPE) C 'R' MODE 20021021
8 Importing NOHEADER Call by reference Type reference (TYPE) C ' ' NOHEADER 20021021
9 Importing TEMSE_OBJ Call by reference Type reference (TYPE) RPTSTYPE-OBJKN 'XMLD00' Name of the TemSe file 20100121
10 Importing WTEMSE Call by reference Type reference (TYPE) C Export to TemSe file 20091215
11 Importing XML_ENCODING Value transfer Type reference (TYPE) P99SG_XML_CONTENT_T XML character encoding 20060426

Method EXPORT_TO_FILE on class CL_HR99S00_XML_HANDLER has no exception.

Method FILL_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing XML_SOURCE_TAB Call by reference Type reference (TYPE) TABLE Table with XML Source 20021127

Method FILL_BUFFER on class CL_HR99S00_XML_HANDLER has no exception.

Method FLUSH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing APPEND Value transfer Type reference (TYPE) C ' ' Append to previous output 20030127
2 Importing NOBREAKS Value transfer Type reference (TYPE) C 'X' No line breaks within tags 20030414
3 Importing NODE Value transfer Type reference (TYPE) P99SG_XML_NODE_T-ID Node ID 20030123
# Exception Resumable Description Created on
1 ATTEMPTED_ROOT_FLUSH Attempt to flush the root node. 20030123
2 FRACTURE_IN_REALITY Much what is says. 20030129
3 NODE_NOT_FOUND node not found 20030127
4 TREE_STATUS_INCONSISTENT Flushing would lead to an inconsistent tree status. 20030123

Method FLUSH_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NOBREAKS Value transfer Type reference (TYPE) C 'X' No line breaks within tags 20030414
2 Importing NODE Value transfer Type reference (TYPE) P99SG_XML_NODE_T-ID Node whose children to flush 20030129
3 Importing OMIT_NODE Value transfer Type reference (TYPE) P99SG_XML_NODE_T-ID Node to omit 20030129
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Node not found. 20030129

Method FLUSH_SIBLINGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NOBREAKS Value transfer Type reference (TYPE) C 'X' No line breaks within tags 20030414
2 Importing NODE Value transfer Type reference (TYPE) P99SG_XML_NODE_T-ID Node whose siblings to flush 20030129
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Node not found. 20030129

Method GET_CHILDREN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CHILDREN Call by reference Type reference (TYPE) P99SG_XML_TABLE_T List of children 20030123
2 Importing NODE Value transfer Type reference (TYPE) P99SG_XML_NODE_T-ID Node ID 20030123
# Exception Resumable Description Created on
1 FRACTURE_IN_REALITY Much what is says. 20030129

Method GET_EVENT_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EVENT Call by reference Type reference (TYPE) X EVENT 20021021

Method GET_EVENT_TYPE on class CL_HR99S00_XML_HANDLER has no exception.

Method GET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting NAME Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T NAME 20021021

Method GET_NAME on class CL_HR99S00_XML_HANDLER has no exception.

Method GET_NEXT_ATTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTRLIST Value transfer Type reference (TYPE) P99SG_XML_BUFFER_T ATTRLIST 20021021
2 Exporting ATTRNAME Call by reference Type reference (TYPE) P99SG_XML_BUFFER_T ATTRNAME 20021021
3 Exporting ATTRVAL Call by reference Type reference (TYPE) P99SG_XML_BUFFER_T ATTRVAL 20021021
4 Exporting REST Call by reference Type reference (TYPE) P99SG_XML_BUFFER_T REST 20021021

Method GET_NEXT_ATTRIBUTE on class CL_HR99S00_XML_HANDLER has no exception.

Method GET_NODE_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ATTR Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T ATTR 20021216
2 Importing NODE Call by reference Type reference (TYPE) I NODE 20021216
# Exception Resumable Description Created on
1 NODE_NOT_FOUND NODE_NOT_FOUND 20021216

Method GET_NODE_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE Call by reference Type reference (TYPE) I NODE 20021216
2 Exporting VALUE Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T ATTR 20021216
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Node not found 20021216

Method GET_NUM_PARSER_ERRORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting NUMBER Call by reference Type reference (TYPE) I NUMBER 20021021

Method GET_NUM_PARSER_ERRORS on class CL_HR99S00_XML_HANDLER has no exception.

Method GET_PARSER_ERROR_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ERROR_LIST Call by reference Type reference (TYPE) TABLE ERROR_LIST 20021021

Method GET_PARSER_ERROR_LIST on class CL_HR99S00_XML_HANDLER has no exception.

Method GET_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting VAL Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T VAL 20021021

Method GET_VALUE on class CL_HR99S00_XML_HANDLER has no exception.

Method GET_XML_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting XML_OUT Call by reference Type reference (TYPE) TABLE XML_OUT 20021021

Method GET_XML_OUTPUT on class CL_HR99S00_XML_HANDLER has no exception.

Method IMPORT_FROM_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DIALOG Call by reference Type reference (TYPE) C 'X' DIALOG 20021021
2 Importing DIRECTORY Call by reference Type reference (TYPE) C 'C:TEMP' DIRECTORY 20021021
3 Importing FILENAME Call by reference Type reference (TYPE) C 'test.xml' FILENAME 20021021

Method IMPORT_FROM_FILE on class CL_HR99S00_XML_HANDLER has no exception.

Method MARK_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE Value transfer Type reference (TYPE) P99SG_XML_NODE_T-ID Node ID 20030123

Method MARK_NODE on class CL_HR99S00_XML_HANDLER has no exception.

Method PARSE_EVENT Signature

Method PARSE_EVENT on class CL_HR99S00_XML_HANDLER has no parameter.
Method PARSE_EVENT on class CL_HR99S00_XML_HANDLER has no exception.

Method POPNCHECK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CURRENT_TAG Value transfer Type reference (TYPE) P99SG_XML_BUFFER_T CURRENT_TAG 20021021

Method POPNCHECK on class CL_HR99S00_XML_HANDLER has no exception.

Method RENDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing KEEP Value transfer Type reference (TYPE) C Keep current xml output 20030123
2 Importing NOBREAKS Value transfer Type reference (TYPE) C 'X' No linebreaks within tags 20030414
3 Importing NODE Value transfer Type reference (TYPE) P99SG_XML_NODE_T-ID 1 Root node (for rendering of partial trees) 20030123
4 Importing PRETTY Value transfer Type reference (TYPE) C ' ' PRETTY 20021021
# Exception Resumable Description Created on
1 XML_TREE_CORRUPT XML_TREE_CORRUPT 20021021

Method RESET Signature

Method RESET on class CL_HR99S00_XML_HANDLER has no parameter.
Method RESET on class CL_HR99S00_XML_HANDLER has no exception.

Method SET_EVENT_SUBSCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EVENTS Call by reference Type reference (TYPE) X EVENTS 20021021

Method SET_EVENT_SUBSCRIPTION on class CL_HR99S00_XML_HANDLER has no exception.

Method SET_NODE_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ATTR Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T ATTR 20021216
2 Importing NODE Call by reference Type reference (TYPE) I NODE 20021216
# Exception Resumable Description Created on
1 NODE_NOT_FOUND NODE_NOT_FOUND 20021216

Method SET_NODE_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NODE Call by reference Type reference (TYPE) I NODE 20021216
2 Importing VALUE Call by reference Type reference (TYPE) P99SG_XML_CONTENT_T ATTR 20021216
# Exception Resumable Description Created on
1 NODE_NOT_FOUND Node not found 20021216

Method SET_XML_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing XML_IN Call by reference Type reference (TYPE) TABLE XML_IN 20091117

Method SET_XML_OUTPUT on class CL_HR99S00_XML_HANDLER has no exception.
History
Last changed by/on SAP  20110809 
SAP Release Created in 600