SAP ABAP Class CL_XMLDIFF_DOCUMENT (XMLdiff document)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-UPG-NA (Application Component) SAP Note Assistant
⤷ SXMLDIFF (Package) XMLdiff
⤷ BC-UPG-NA (Application Component) SAP Note Assistant
⤷ SXMLDIFF (Package) XMLdiff
Properties
Class | CL_XMLDIFF_DOCUMENT | |
Short Description | XMLdiff document | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SXMLDIFF | XMLdiff |
Created | 20080701 | SAP |
Last change | 20110908 | 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_XMLDIFF_DOCUMENT has no interface implemented.
Friends
Class CL_XMLDIFF_DOCUMENT has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MO_CURRENT | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 | |||
2 | MO_ROOT | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 | |||
3 | MT_ACTIONS | Instance attribute | Protected | See coding | 20080701 | ||||
4 | MV_CHANGED | Instance attribute | Protected | Type reference (TYPE) | I | 20080703 | |||
5 | MV_DELETED | Instance attribute | Protected | Type reference (TYPE) | I | 20080703 | |||
6 | MV_INSERTED | Instance attribute | Protected | Type reference (TYPE) | I | 20080703 | |||
7 | MV_RAW | Instance attribute | Protected | Type reference (TYPE) | XSTRING | 20080701 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_HIERARCHY | Instance method | Protected | Method | Check hierarchical consistency of 2 nodes | 20080710 |
2 | CREATE | Static method | Public | Method | Create new document for use by XMLdiff | 20080701 |
3 | DELETE_NODE | Instance method | Protected | Method | Create a delete action | 20080701 |
4 | DIFF | Instance method | Public | Method | Diff this document to another and return delta as actions | 20080701 |
5 | DIFF_ATTR | Instance method | Protected | Method | Find differences between two attribute lists and create act. | 20080701 |
6 | DIFF_NODES_INT | Instance method | Protected | Method | Find differences between two subtrees | 20080701 |
7 | GET_NEXT_NODE_PREORDER | Instance method | Public | Method | Get next node using preorder tree traversal | 20080701 |
8 | GET_NODE_BY_XPATH | Instance method | Public | Method | Get node from xpath | 20080704 |
9 | GET_ROOT_NODE | Instance method | Public | Method | Get root node and set it as current node | 20080701 |
10 | INSERT_NODE | Instance method | Protected | Method | Create an insert action | 20080701 |
11 | MATCH_LEAVES | Instance method | Protected | Method | Match leaves of two documents | 20080701 |
12 | PARSE | Instance method | Protected | Method | Parse xml document | 20080701 |
Events
Class CL_XMLDIFF_DOCUMENT has no event.
Types
Class CL_XMLDIFF_DOCUMENT has no local type.
Method Signatures
Method CHECK_HIERARCHY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_REF_NODE | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | XMLdiff node | 20080710 | ||
2 | Importing | IO_TEST_NODE | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | XMLdiff node | 20080710 | ||
3 | Returning | RO_TEST_NODE | Value transfer | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | XMLdiff node | 20080710 |
Method CHECK_HIERARCHY on class CL_XMLDIFF_DOCUMENT has no exception.
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20080701 | |||
2 | Importing | IV_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20080701 | |||
3 | Returning | RO_DOC | Value transfer | Object reference (TYPE REF TO) | CL_XMLDIFF_DOCUMENT | 20080701 |
Method CREATE on class CL_XMLDIFF_DOCUMENT has no exception.
Method DELETE_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_NODE | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 |
Method DELETE_NODE on class CL_XMLDIFF_DOCUMENT has no exception.
Method DIFF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_ACTIONS | Call by reference | Type reference (TYPE) | CL_XMLDIFF_ACTION=>TY_TABLE | 20080701 | |||
2 | Exporting | EV_NODES_CHANGED | Call by reference | Type reference (TYPE) | I | 20080703 | |||
3 | Exporting | EV_NODES_DELETED | Call by reference | Type reference (TYPE) | I | 20080703 | |||
4 | Exporting | EV_NODES_INSERTED | Call by reference | Type reference (TYPE) | I | 20080703 | |||
5 | Importing | IO_TEST_DOC | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_DOCUMENT | 20080701 | |||
6 | Importing | IV_MATCH_STRENGTH | Call by reference | Type reference (TYPE) | I | 2 | higher strength = less actions & higher runtime | 20080703 | |
7 | Importing | IV_PERF | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080714 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_IXML_PARSE_ERROR | iXML Exception: Error While Parsing | 20081031 |
Method DIFF_ATTR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_REF_NODE | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 |
Method DIFF_ATTR on class CL_XMLDIFF_DOCUMENT has no exception.
Method DIFF_NODES_INT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_REF_FIRST | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 | |||
2 | Importing | IO_TEST_FIRST | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 |
Method DIFF_NODES_INT on class CL_XMLDIFF_DOCUMENT has no exception.
Method GET_NEXT_NODE_PREORDER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_NODE | Value transfer | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 |
Method GET_NEXT_NODE_PREORDER on class CL_XMLDIFF_DOCUMENT has no exception.
Method GET_NODE_BY_XPATH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_XPATH | Call by reference | Type reference (TYPE) | STRING | 20080704 | |||
2 | Returning | RO_NODE | Value transfer | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | XMLdiff node | 20080704 |
Method GET_NODE_BY_XPATH on class CL_XMLDIFF_DOCUMENT has no exception.
Method GET_ROOT_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RO_NODE | Value transfer | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 |
Method GET_ROOT_NODE on class CL_XMLDIFF_DOCUMENT has no exception.
Method INSERT_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_NODE | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 | |||
2 | Importing | IO_PREV_NODE | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | 20080701 |
Method INSERT_NODE on class CL_XMLDIFF_DOCUMENT has no exception.
Method MATCH_LEAVES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IO_REF_ROOT | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | XMLdiff node | 20081028 | ||
2 | Importing | IO_TEST_ROOT | Call by reference | Object reference (TYPE REF TO) | CL_XMLDIFF_NODE | XMLdiff node | 20081028 | ||
3 | Importing | IV_MATCH_STRENGTH | Call by reference | Type reference (TYPE) | I | 20080703 |
Method MATCH_LEAVES on class CL_XMLDIFF_DOCUMENT has no exception.
Method PARSE Signature
Method PARSE on class CL_XMLDIFF_DOCUMENT has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_IXML_PARSE_ERROR | iXML Exception: Error While Parsing | 20081031 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 720 |