SAP ABAP Class CL_DB6_AM_ADAPTER_XML (DB6: Automaintenance DB Adapter XML Policies)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB-DB6 (Application Component) DB2 Universal Database for UNIX / NT
     STU6 (Package) DB6: Performance-Monitor (UNIX/Windows)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_DB6_AM_ADAPTER DB6: Automaintenance DB Adapter 20060703
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_DB6_AM_ADAPTER_XML_BACKUP DB6: Automaintenance DB XML Adapter Backup Policy 20060712
2 Inheritance (c INHERITING FROM c_ref)  CL_DB6_AM_ADAPTER_XML_COMMON DB6_ Automaintenance DB XML Adapter Common Policy 20060703
3 Inheritance (c INHERITING FROM c_ref)  CL_DB6_AM_ADAPTER_XML_REORG DB6: Automaintenance DB XML Adapter Reorg Policy 20060712
4 Inheritance (c INHERITING FROM c_ref)  CL_DB6_AM_ADAPTER_XML_RUNSTATS DB6: Automaintenance DB XML Adapter Runstats Policy 20060712
Properties
Class CL_DB6_AM_ADAPTER_XML  
Short Description DB6: Automaintenance DB Adapter XML Policies    
Super Class CL_DB6_AM_ADAPTER DB6: Automaintenance DB Adapter 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package STU6   DB6: Performance-Monitor (UNIX/Windows) 
Created 20060703   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DB6_AM_ADAPTER_XML has no interface implemented.
Friends
Class CL_DB6_AM_ADAPTER_XML has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CACHE_EXPRESSION Instance attribute Private Type reference (TYPE) STRING 20060714
2 CACHE_RESULTSET Instance attribute Private Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION IF_IXML_NODE 20060714
3 DEFAULT_NS_PREFIX Instance attribute Protected Type reference (TYPE) STRING 20060822
4 DOCUMENT_HASH Instance attribute Private Type reference (TYPE) HASH160 Hash Value (160 Bits) 20060703
5 FT_USE_NEW_DB2_API Instance attribute Protected Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20100921
6 IXML_DOCUMENT_REF Instance attribute Protected Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20060705
7 IXML_PARSER_REF Instance attribute Protected Object reference (TYPE REF TO) IF_IXML_PARSER IF_IXML_PARSER 20060705
8 IXML_REF Instance attribute Protected Object reference (TYPE REF TO) IF_IXML IF_IXML 20060705
9 IXML_STREAM_FACTORY_REF Instance attribute Protected Object reference (TYPE REF TO) IF_IXML_STREAM_FACTORY IF_IXML_STREAM_FACTORY 20060705
10 NAMESPACES_TAB Instance attribute Protected Type reference (TYPE) DBA_XML_NAMESPACE_TAB DBA: XML namespace table 20060713
11 XSLT_REF Instance attribute Private Object reference (TYPE REF TO) CL_XSLT_PROCESSOR XSLT processor 20060714
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DEFAULT_NS Instance method Private Method Adds the default namespace to expression. 20060822
2 ADD_LPATH Instance method Protected Method Adds the specified element/attribute to the document. 20060822
3 CHECK_HASH Instance method Private Method Checks if document in db was changed since last retrieve. 20060828
4 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20060705
5 CREATE_NAMESPACES_TAB Instance method Protected Method DB6: Creates the namespaces tab from the XML document. 20060825
6 DELETE_XPATH Instance method Protected Method Deletes the node specified by location path. 20060829
7 EVALUATE_XPATH Instance method Protected Method Evaluates an XPath expression against the DOM tree. 20060714
8 EVALUATE_XPATH_AS_NUMBER Instance method Protected Method Evaluates an XPath expression and returns the node value. 20060822
9 EVALUATE_XPATH_AS_STRING Instance method Protected Method Evaluates an XPath expression and returns the node value. 20060714
10 EXISTS_XPATH Instance method Protected Method Checks, whether this XPath exists. 20060714
11 LOG_STORE Instance method Protected Method Logs the store command in audit log 20061013
12 PARSE_DBXML_TO_DOM Instance method Protected Method Retrieves the policy from the database and creates DOM tree. 20060705
13 PARSE_XML_TO_DOM Instance method Protected Method Parses the XML document to the DOM tree. 20060707
14 RETRIEVE_DBXML Instance method Private Method Retrieves the policy from the database. 20060828
15 SERIALIZE_DOM_TO_DBXML Instance method Protected Method Stores the DOM tree in the database. 20060705
16 SERIALIZE_DOM_TO_XML Instance method Protected Method Serializes the DOM tree to an XML document. 20060705
17 UPDATE_LPATH Instance method Protected Method Updates the Node specified by location path. 20060714
Events
Class CL_DB6_AM_ADAPTER_XML has no event.
Types
Class CL_DB6_AM_ADAPTER_XML has no local type.
Method Signatures

Method ADD_DEFAULT_NS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPRESSION Call by reference Type reference (TYPE) STRING 20060822
2 Returning RESULT Value transfer Type reference (TYPE) STRING 20060822

Method ADD_DEFAULT_NS on class CL_DB6_AM_ADAPTER_XML has no exception.

Method ADD_LPATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPRESSION Call by reference Type reference (TYPE) STRING 20060822
2 Importing VALUE_NUMBER Call by reference Type reference (TYPE) I 20060828
3 Importing VALUE_STRING Call by reference Type reference (TYPE) STRING '@@EMPTY_STRING@@' 20060828
4 Importing VALUE_TREE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20060828
5 Importing XML_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20060828
# Exception Resumable Description Created on
1 CX_DBA_XML_ERROR DBA Cockpit: XML parser error 20060822

Method CHECK_HASH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing POLICY_REF Call by reference Object reference (TYPE REF TO) CL_DB6_AM_POLICY_BASE 20060828
2 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20060828
# Exception Resumable Description Created on
1 CX_DB6_AM_POLICY DB6: Automaintenance Exceptions 20060828

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAV_REF Call by reference Object reference (TYPE REF TO) CL_DB6_TREE_NAVIGATOR CL_DB6_TREE_NAVIGATOR 20061012

Method CONSTRUCTOR on class CL_DB6_AM_ADAPTER_XML has no exception.

Method CREATE_NAMESPACES_TAB Signature

Method CREATE_NAMESPACES_TAB on class CL_DB6_AM_ADAPTER_XML has no parameter.
Method CREATE_NAMESPACES_TAB on class CL_DB6_AM_ADAPTER_XML has no exception.

Method DELETE_XPATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPRESSION Call by reference Type reference (TYPE) STRING 20060829
2 Importing XML_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20060829
# Exception Resumable Description Created on
1 CX_DBA_XML_ERROR DBA Cockpit: XML parser error 20060829

Method EVALUATE_XPATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPRESSION Call by reference Type reference (TYPE) STRING 20060714
2 Returning RESULTSET Value transfer Object reference (TYPE REF TO) IF_IXML_NODE_COLLECTION IF_IXML_NODE_COLLECTION 20060714
3 Importing XML_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20060829
# Exception Resumable Description Created on
1 CX_DBA_XML_ERROR DB6: Automaintenance Exceptions 20060810

Method EVALUATE_XPATH_AS_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPRESSION Call by reference Type reference (TYPE) STRING 20060822
2 Returning RESULT Value transfer Type reference (TYPE) I 20060822
3 Importing XML_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE 20060829
# Exception Resumable Description Created on
1 CX_DBA_XML_ERROR DBA Cockpit: XML parser error 20060822

Method EVALUATE_XPATH_AS_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPRESSION Call by reference Type reference (TYPE) STRING 20060714
2 Returning RESULT Value transfer Type reference (TYPE) STRING 20060714
3 Importing XML_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20060829
# Exception Resumable Description Created on
1 CX_DBA_XML_ERROR DB6: Automaintenance Exceptions 20060802

Method EXISTS_XPATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPRESSION Call by reference Type reference (TYPE) STRING 20060714
2 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20060714
3 Importing XML_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20060829
# Exception Resumable Description Created on
1 CX_DBA_XML_ERROR DBA Cockpit: XML parser error 20060822

Method LOG_STORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing COMMAND Call by reference Type reference (TYPE) STRING 20061013

Method LOG_STORE on class CL_DB6_AM_ADAPTER_XML has no exception.

Method PARSE_DBXML_TO_DOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing POLICY_REF Call by reference Object reference (TYPE REF TO) CL_DB6_AM_POLICY_BASE Db6: Automaintenance Base Policy 20060712
# Exception Resumable Description Created on
1 CX_DB6_AM_POLICY DB6: Automaintenance Exceptions 20061017
2 CX_DBA_XML_ERROR DBA Cockpit: XML parser error 20061011

Method PARSE_XML_TO_DOM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing XML Call by reference Type reference (TYPE) STRING 20060707
# Exception Resumable Description Created on
1 CX_DB6_AM_POLICY DB6: Automaintenance Exceptions 20061018
2 CX_DBA_XML_ERROR DBA Cockpit: XML parser error 20060822

Method RETRIEVE_DBXML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting DOCUMENT_HASH Call by reference Type reference (TYPE) HASH160 Hash Value (160 Bits) 20060828
2 Importing POLICY_REF Call by reference Object reference (TYPE REF TO) CL_DB6_AM_POLICY_BASE DB6: Automaintenance Policy 20060828
3 Exporting XML_DOCUMENT Call by reference Type reference (TYPE) XSTRING 20060828
# Exception Resumable Description Created on
1 CX_DB6_AM_POLICY DB6: Automaintenance Exceptions 20060828

Method SERIALIZE_DOM_TO_DBXML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing POLICY_REF Call by reference Object reference (TYPE REF TO) CL_DB6_AM_POLICY_BASE Db6: Automaintenance Base Policy 20060712
# Exception Resumable Description Created on
1 CX_DB6_AM_POLICY DB6: Automaintenance Exceptions 20060828

Method SERIALIZE_DOM_TO_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning XML Value transfer Type reference (TYPE) STRING 20060705

Method SERIALIZE_DOM_TO_XML on class CL_DB6_AM_ADAPTER_XML has no exception.

Method UPDATE_LPATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXPRESSION Call by reference Type reference (TYPE) STRING 20060714
2 Importing VALUE_NUMBER Call by reference Type reference (TYPE) I 20060828
3 Importing VALUE_STRING Call by reference Type reference (TYPE) STRING '@@EMPTY_STRING@@' 20060828
4 Importing VALUE_TREE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20060828
5 Importing XML_NODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE IF_IXML_NODE 20060828
# Exception Resumable Description Created on
1 CX_DBA_XML_ERROR DBA Cockpit: XML parser error 20060822
History
Last changed by/on SAP  20130531 
SAP Release Created in 710