Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_XLF_NODE | Basic element implementation | 20100906 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_XLF_ELEMENT | Basic interface for all elements | 20100906 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_XLF_ELEM_NON_XLIFF | Non-XLIFF element | 20100917 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_XLF_XLIFF_ELEMENT | Basic XLIFF element implementation | 20100907 |
Properties
| Class | CL_XLF_ELEMENT | |
| Short Description | Basic element implementation | |
| Super Class | CL_XLF_NODE | Basic element implementation |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLXE_XLIFF | XLIFF 1.2 Library |
| Created | 20100906 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_XLF_ELEMENT | Basic interface for all elements | 20100906 |
Friends
Class CL_XLF_ELEMENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | T_ATTRIBUTE | 20100906 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | T_ATTRIBUTE | 20100906 | ||||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_XLF_DESERIALIZER | XLIFF deserializer | 20110310 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_CLASSDESCR | Runtime Type Services | 20100908 | |||
| 5 | Constant | Private | Type reference (TYPE) | XSTRING | '5C65' | 20101108 | |||
| 6 | Constant | Private | Type reference (TYPE) | XSTRING | '5C73' | 20101108 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | STRING | 20100906 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | TXLF_NAMESPACE_MAPPING | Table of namespace URI to prefix mappings | 20100906 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | STRING | 20100906 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | STRING | 20100906 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | T_PREFIX_MAPPING | 20100906 | ||||
| 12 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_XLF_SERIALIZER | XLIFF serializer | 20110310 | |||
| 13 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_ABAP_INTFDESCR | Runtime Type Services | 20100908 |
Methods
Events
Class CL_XLF_ELEMENT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_ATTRIBUTE | Private | See coding | 20100906 | BEGIN OF s_attribute,
namespace_uri TYPE string,
name TYPE string,
attribute TYPE REF TO if_xlf_attribute,
END OF s_attribute
|
||
| 2 | S_PREFIX_MAPPING | Private | See coding | 20100906 | BEGIN OF s_prefix_mapping,
prefix TYPE string,
namespace_uri TYPE string,
END OF s_prefix_mapping
|
||
| 3 | T_ATTRIBUTE | Private | See coding | 20100906 | t_attribute TYPE SORTED TABLE OF s_attribute
WITH UNIQUE KEY namespace_uri name
|
||
| 4 | T_PREFIX_MAPPING | Private | See coding | 20100906 | t_prefix_mapping TYPE SORTED TABLE OF s_prefix_mapping
WITH UNIQUE KEY prefix
|
||
| 5 | T_XMLNODE | Public | See coding | 20100906 | t_xmlnode TYPE STANDARD TABLE OF REF TO if_ixml_node WITH DEFAULT KEY
|
Method Signatures
Method ASSERT_ATTRIBUTES_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A constraint of an XLIFF document is violated | 20100906 |
Method ASSERT_NODES_NOT_ATTACHED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODES | Call by reference | Type reference (TYPE) | TXLF_NODE | Table of nodes | 20100907 |
Method ASSERT_NODES_NOT_ATTACHED on class CL_XLF_ELEMENT has no exception.
Method ASSERT_NODE_NOT_ATTACHED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE | Call by reference | Object reference (TYPE REF TO) | IF_XLF_NODE | Basic interface for all nodes (elements and texts) | 20100907 |
Method ASSERT_NODE_NOT_ATTACHED on class CL_XLF_ELEMENT has no exception.
Method AS_XML_ELEMENT_WITH_MAPPINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20100906 | |||
| 2 | ELEMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20100906 | |||
| 3 | PARENT_NAMESPACE_TO_PREFIX | Call by reference | Type reference (TYPE) | TXLF_NAMESPACE_MAPPING | Table of namespace URI to prefix mappings | 20100906 | |||
| 4 | PARENT_PREFIX_TO_NAMESPACE | Call by reference | Type reference (TYPE) | T_PREFIX_MAPPING | 20100906 |
Method AS_XML_ELEMENT_WITH_MAPPINGS on class CL_XLF_ELEMENT has no exception.
Method ATTACH_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE | Call by reference | Object reference (TYPE REF TO) | IF_XLF_NODE | Basic interface for all nodes (elements and texts) | 20100906 |
Method ATTACH_NODE on class CL_XLF_ELEMENT has no exception.
Method ATTACH_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODES | Call by reference | Type reference (TYPE) | TXLF_NODE | Table of nodes | 20100906 |
Method ATTACH_NODES on class CL_XLF_ELEMENT has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XLF_ELEMENT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XLF_ELEMENT has no exception.
Method CLEAR_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 20100906 | ||||
| 2 | NAMESPACE_URI | Call by reference | Type reference (TYPE) | STRING | 20100906 |
Method CLEAR_ATTRIBUTE on class CL_XLF_ELEMENT has no exception.
Method CLEAR_ATTRIBUTES Signature
Method CLEAR_ATTRIBUTES on class CL_XLF_ELEMENT has no parameter.
Method CLEAR_ATTRIBUTES on class CL_XLF_ELEMENT has no exception.
Method CLONE_CHILDREN_FROM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SOURCE | Call by reference | Object reference (TYPE REF TO) | CL_XLF_ELEMENT | Basic element implementation | 20100907 |
Method CLONE_CHILDREN_FROM on class CL_XLF_ELEMENT has no exception.
Method DETACH_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE | Call by reference | Object reference (TYPE REF TO) | IF_XLF_NODE | Basic interface for all nodes (elements and texts) | 20100906 |
Method DETACH_NODE on class CL_XLF_ELEMENT has no exception.
Method DETACH_NODES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODES | Call by reference | Type reference (TYPE) | TXLF_NODE | Table of nodes | 20100906 |
Method DETACH_NODES on class CL_XLF_ELEMENT has no exception.
Method GENERATE_PREFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAMESPACE_URI | Call by reference | Type reference (TYPE) | STRING | 20100907 | ||||
| 2 | PREFIX | Value transfer | Type reference (TYPE) | STRING | 20100906 | ||||
| 3 | PREFIX_TO_NAMESPACE | Call by reference | Type reference (TYPE) | T_PREFIX_MAPPING | 20100906 |
Method GENERATE_PREFIX on class CL_XLF_ELEMENT has no exception.
Method GET_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE | Value transfer | Object reference (TYPE REF TO) | IF_XLF_ATTRIBUTE | Basic interface for all attributes | 20100906 | |||
| 2 | NAME | Call by reference | Type reference (TYPE) | STRING | 20100906 | ||||
| 3 | NAMESPACE_URI | Call by reference | Type reference (TYPE) | STRING | 20100906 |
Method GET_ATTRIBUTE on class CL_XLF_ELEMENT has no exception.
Method GET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTES | Value transfer | Type reference (TYPE) | TXLF_ATTRIBUTE | Table of attributes | 20100907 | |||
| 2 | INCLUDE_DEFAULT_ATTRS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20101230 |
Method GET_ATTRIBUTES on class CL_XLF_ELEMENT has no exception.
Method GET_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHILDREN | Value transfer | Type reference (TYPE) | TXLF_NODE | Table of nodes | 20100907 |
Method GET_CHILDREN on class CL_XLF_ELEMENT has no exception.
Method GET_DEFAULT_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEFAULT_ATTRIBUTES | Value transfer | Type reference (TYPE) | TXLF_ATTRIBUTE | Table of attributes | 20100906 |
Method GET_DEFAULT_ATTRIBUTES on class CL_XLF_ELEMENT has no exception.
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Value transfer | Type reference (TYPE) | STRING | 20100907 |
Method GET_NAME on class CL_XLF_ELEMENT has no exception.
Method GET_NAMESPACE_PREFIX_MAPPINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAMESPACE_MAPPINGS | Value transfer | Type reference (TYPE) | TXLF_NAMESPACE_MAPPING | Table of namespace URI to prefix mappings | 20100907 |
Method GET_NAMESPACE_PREFIX_MAPPINGS on class CL_XLF_ELEMENT has no exception.
Method GET_NAMESPACE_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAMESPACE_URI | Value transfer | Type reference (TYPE) | STRING | 20100907 |
Method GET_NAMESPACE_URI on class CL_XLF_ELEMENT has no exception.
Method GET_PREFIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PREFIX | Value transfer | Type reference (TYPE) | STRING | 20100907 |
Method GET_PREFIX on class CL_XLF_ELEMENT has no exception.
Method INIT_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 20100906 | ||||
| 2 | NAMESPACE_URI | Call by reference | Type reference (TYPE) | STRING | 20100906 | ||||
| 3 | PREFIX | Call by reference | Type reference (TYPE) | STRING | 20100906 |
Method INIT_ELEMENT on class CL_XLF_ELEMENT has no exception.
Method INIT_ELEMENT_FROM_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 20100906 | ||||
| 2 | NAMESPACE_URI | Call by reference | Type reference (TYPE) | STRING | 20100906 | ||||
| 3 | XML_ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A constraint of an XLIFF document is violated | 20100906 |
Method INIT_ELEMENT_FROM_SER_ELEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 20101117 | ||||
| 2 | NAMESPACE_URI | Call by reference | Type reference (TYPE) | STRING | 20101117 | ||||
| 3 | SER_ELEM | Call by reference | Object reference (TYPE REF TO) | CL_XLF_SER_ELEM | 20101117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20101117 |
Method IS_DEFAULT_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ATTRIBUTE | Basic interface for all attributes | 20100906 | |||
| 2 | IS_DEFAULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100906 |
Method IS_DEFAULT_ATTRIBUTE on class CL_XLF_ELEMENT has no exception.
Method PROCESS_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ELEMENTS_AND_TEXT | Call by reference | Type reference (TYPE) | T_XMLNODE | Table of nodes | 20100906 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A constraint of an XLIFF document is violated | 20100906 |
Method PROCESS_SER_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODES | Call by reference | Type reference (TYPE) | CL_XLF_SER_NODE=>T_SER_NODE | 20101117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20101117 |
Method SET_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ATTRIBUTE | Basic interface for all attributes | 20100906 |
Method SET_ATTRIBUTE on class CL_XLF_ELEMENT has no exception.
Method SET_ATTRIBUTE_DEFAULTS Signature
Method SET_ATTRIBUTE_DEFAULTS on class CL_XLF_ELEMENT has no parameter.
Method SET_ATTRIBUTE_DEFAULTS on class CL_XLF_ELEMENT has no exception.
Method SET_NAMESPACE_PREFIX_MAPPINGS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAMESPACE_MAPPINGS | Call by reference | Type reference (TYPE) | TXLF_NAMESPACE_MAPPING | Table of namespace URI to prefix mappings | 20100907 |
Method SET_NAMESPACE_PREFIX_MAPPINGS on class CL_XLF_ELEMENT has no exception.
Method VALIDATE Signature
Method VALIDATE on class CL_XLF_ELEMENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A constraint of an XLIFF document is violated | 20101004 |
Method VALIDATE_RECURSIVELY Signature
Method VALIDATE_RECURSIVELY on class CL_XLF_ELEMENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A constraint of an XLIFF document is violated | 20101004 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 703 |