SAP ABAP Class CL_SOAP_XML_PATH_EXTRACTOR (Extracts entries from an xml xstring defined by xpaths)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ESI-WS-ABA-RT (Application Component) WebServices ABAP Runtime
     SOAP_CORE (Package) SOAP Runtime: Core SOAP Functionality
Properties
Class CL_SOAP_XML_PATH_EXTRACTOR  
Short Description Extracts entries from an xml xstring defined by xpaths    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SOAP_CORE   SOAP Runtime: Core SOAP Functionality 
Created 20120629   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SOAP_XML_PATH_EXTRACTOR has no forward declaration.
Interfaces
Class CL_SOAP_XML_PATH_EXTRACTOR has no interface implemented.
Friends
Class CL_SOAP_XML_PATH_EXTRACTOR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ATTRIBUTE_SEPARATOR Constant Private Type reference (TYPE) C '@' 20121105
2 GC_LOG_DATA_TYPE Constant Private See coding 20121105
3 GC_NAMESPACE_BEGIN Constant Private Type reference (TYPE) C '{' 20121105
4 GC_NAMESPACE_END Constant Private Type reference (TYPE) C '}' 20121105
5 GC_NODE_TO_SEG_COMP_RESULT Constant Private See coding 20121105
6 GC_PATH_SEPARATOR Constant Private Type reference (TYPE) C '/' 20121105
7 GC_PAYLAOD_WRAP_TAG_NAME Constant Private Type reference (TYPE) STRING 'Root' 20121105
8 GC_TABLE_INDICATOR Constant Private See coding '[]' 20121105
9 MO_XML_READER Instance attribute Private Object reference (TYPE REF TO) IF_SXML_READER 20120702
10 MR_LOG_RESULT Instance attribute Private Object reference (TYPE REF TO) TT_LOG_RESULT 20120702
11 MR_XML Instance attribute Private Object reference (TYPE REF TO) XSTRING 20120702
12 MT_PATH_ENTRY Instance attribute Private Type reference (TYPE) TT_PATH_ENTRY 20120702
13 MV_CURR_SEG Instance attribute Private Type reference (TYPE) I 0 20120702
14 MV_MAX_SEG Instance attribute Private Type reference (TYPE) I 20120702
Methods
# Method Level Visibility Method type Description Created on
1 COMPARE_NODE_TO_SEG Instance method Private Method 20120702
2 CONSTRUCTOR Instance method Public Constructor 20120702
3 GET_ACTUAL_PATH Instance method Private Method 20120702
4 INIT Instance method Private Method 20120702
5 NEXT_SEG Instance method Private Method 20120702
6 PREV_SEG Instance method Private Method 20120702
7 PROCESS Instance method Public Method 20120702
8 PROCESS_END_NODE Instance method Private Method 20120702
Events
Class CL_SOAP_XML_PATH_EXTRACTOR has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_LOG_INFO Private See coding 20120702 begin of ts_log_info, path_index type i, type type tv_log_data_type, namespace type string, name type string, actual_path type string, end of ts_log_info
2 TS_LOG_RESULT Public See coding 20120702 begin of ts_log_result, config_path type string, t_log_result_for_path type tt_log_result_for_path, end of ts_log_result
3 TS_LOG_RESULT_FOR_PATH Public See coding 20120702 begin of ts_log_result_for_path, actual_path type string, value type string, end of ts_log_result_for_path
4 TS_PATH_ENTRY Private See coding 20120702 begin of ts_path_entry, index type i, "index of the path config_path_string type string, "whole path as a string = copy of input parameter seg_num type i, "number of segments in this path t_path_seg_nodes type tt_seg_nodes, "table of segment's node names t_path_seg_attrib type tt_seg_attrib, "table of segment attributes end of ts_path_entry
5 TS_SEG_ATTRIB Private See coding 20120702 begin of ts_seg_attrib, namespace type string, "node/attribute namespace name type string, "node/attribute name log_data_type type tv_log_data_type, "node/attribute is_in_process type abap_bool, "this segment is part of the current path is_leaf type abap_bool, "is this segment the leaf of the path is_table type abap_bool, "is this segment a table = multiple values for this path expected table_counter type i, "the current table counter for this tabular segment end of ts_seg_attrib
6 TS_SEG_NODE Private See coding 20120713 begin of ts_seg_node, namespace type string, name type string, end of ts_seg_node
7 TT_LOG_INFO Private See coding 20120702 tt_log_info type standard table of ts_log_info with non-unique key path_index
8 TT_LOG_RESULT Public See coding 20120702 tt_log_result type standard table of ts_log_result with non-unique key config_path
9 TT_LOG_RESULT_FOR_PATH Public See coding 20120702 tt_log_result_for_path type standard table of ts_log_result_for_path with non-unique key actual_path
10 TT_PATH_ENTRY Private See coding 20120702 tt_path_entry type standard table of ts_path_entry with non-unique key index
11 TT_SEG_ATTRIB Private See coding 20120702 tt_seg_attrib type standard table of ts_seg_attrib with non-unique key name
12 TT_SEG_NODES Private See coding 20120702 tt_seg_nodes type standard table of ts_seg_node with non-unique key namespace name
13 TV_LOG_DATA_TYPE Private See coding 20120702 tv_log_data_type type c length 1
14 TV_NODE_TO_SEG_COMP_RESULT Private See coding 20120702 tv_node_to_seg_comp_result type c length 1
Method Signatures

Method COMPARE_NODE_TO_SEG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOG_INFO Call by reference Type reference (TYPE) TT_LOG_INFO 20120702
2 Exporting EV_NODE_TO_SEG_COMP_RESULT Call by reference Type reference (TYPE) TV_NODE_TO_SEG_COMP_RESULT 20120702
3 Importing IV_NODE_NAME Call by reference Type reference (TYPE) STRING 20120702
4 Importing IV_NODE_NAMESPACE Call by reference Type reference (TYPE) STRING 20120713

Method COMPARE_NODE_TO_SEG on class CL_SOAP_XML_PATH_EXTRACTOR has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_SOAP_XML_PATH_EXTRACTOR has no parameter.
Method CONSTRUCTOR on class CL_SOAP_XML_PATH_EXTRACTOR has no exception.

Method GET_ACTUAL_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PATH_INDEX Call by reference Type reference (TYPE) I 20120702
2 Returning RV_PATH Value transfer Type reference (TYPE) STRING 20120702

Method GET_ACTUAL_PATH on class CL_SOAP_XML_PATH_EXTRACTOR has no exception.

Method INIT Signature

Method INIT on class CL_SOAP_XML_PATH_EXTRACTOR has no parameter.
Method INIT on class CL_SOAP_XML_PATH_EXTRACTOR has no exception.

Method NEXT_SEG Signature

Method NEXT_SEG on class CL_SOAP_XML_PATH_EXTRACTOR has no parameter.
Method NEXT_SEG on class CL_SOAP_XML_PATH_EXTRACTOR has no exception.

Method PREV_SEG Signature

Method PREV_SEG on class CL_SOAP_XML_PATH_EXTRACTOR has no parameter.
Method PREV_SEG on class CL_SOAP_XML_PATH_EXTRACTOR has no exception.

Method PROCESS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_LOG_RESULT Call by reference Type reference (TYPE) TT_LOG_RESULT 20120702
2 Importing IV_XML Call by reference Type reference (TYPE) XSTRING 20120702

Method PROCESS on class CL_SOAP_XML_PATH_EXTRACTOR has no exception.

Method PROCESS_END_NODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_NODE_NAME Call by reference Type reference (TYPE) STRING 20120702
2 Importing IV_NODE_NAMESPACE Call by reference Type reference (TYPE) STRING 20120713

Method PROCESS_END_NODE on class CL_SOAP_XML_PATH_EXTRACTOR has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740