SAP ABAP Class CL_XLFT_TTX_SNIPPET_TO_ELEM (Insert the source or target of a snippet to an XML element)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DOC-TTL (Application Component) Translation Tools
⤷
SLXE_XLFT (Package) XLIFF 1.2 Translation

⤷

⤷

Properties
Class | CL_XLFT_TTX_SNIPPET_TO_ELEM | |
Short Description | Insert the source or target of a snippet to an XML element | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SLXE_XLFT | XLIFF 1.2 Translation |
Created | 20120822 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_XLFT_TTX_SNIPPET_TO_ELEM has no forward declaration.
Interfaces
Class CL_XLFT_TTX_SNIPPET_TO_ELEM has no interface implemented.
Friends
Class CL_XLFT_TTX_SNIPPET_TO_ELEM has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | I | 40986 | 20120822 | ||
2 | ![]() |
Constant | Public | Type reference (TYPE) | I | 1 | 20120822 | ||
3 | ![]() |
Constant | Public | Type reference (TYPE) | I | 2 | 20120822 | ||
4 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | `urn:oasis:names:tc:xliff:document:1.2` | 20120822 | ||
5 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20120822 | ||
6 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20120822 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TXLFT_PREFIX2URI | Table of prefix to namespace URI mappings | 20120822 | ||
8 | ![]() |
Instance attribute | Private | Type reference (TYPE) | TXLFT_URI2PREFIX | Table of namespace URI to prefix mappings | 20120822 | ||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | I | 20120822 | |||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120822 | ||
11 | ![]() |
Instance attribute | Private | Type reference (TYPE) | XLFT_BLOB | BLOB | 20120822 | ||
12 | ![]() |
Instance attribute | Private | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120822 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Constructor | CONSTRUCTOR | 20120822 |
2 | ![]() |
Instance method | Private | Method | 20120822 | |
3 | ![]() |
Instance method | Private | Method | 20120822 | |
4 | ![]() |
Instance method | Private | Method | 20120822 | |
5 | ![]() |
Static method | Public | Method | Insert source or target of a TTX snippet to an XML element | 20120822 |
6 | ![]() |
Instance method | Private | Method | 20120822 |
Events
Class CL_XLFT_TTX_SNIPPET_TO_ELEM has no event.
Types
Class CL_XLFT_TTX_SNIPPET_TO_ELEM has no local type.
Method Signatures
Method CONSTRUCTOR 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 | 20120822 | ||
2 | ![]() |
MODE | Call by reference | Type reference (TYPE) | I | 20120822 | |||
3 | ![]() |
PARENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20120822 | ||
4 | ![]() |
PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | Table of prefix to namespace URI mappings | 20120822 | ||
5 | ![]() |
SNIPPET | Call by reference | Type reference (TYPE) | XLFT_BLOB | BLOB | 20120822 | ||
6 | ![]() |
SOURCE_LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120822 | ||
7 | ![]() |
TARGET_LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120822 | ||
8 | ![]() |
URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | Table of namespace URI to prefix mappings | 20120822 |
Method CONSTRUCTOR on class CL_XLFT_TTX_SNIPPET_TO_ELEM has no exception.
Method CREATE_ELEMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ATTRIBUTES | Call by reference | Type reference (TYPE) | TXLFT_XLIFF_ATTRIBUTE | Table of XLIFF element attributes | 20120822 | ||
2 | ![]() |
ELEM | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20120822 | ||
3 | ![]() |
ELEM_NAME | Call by reference | Type reference (TYPE) | STRING | 20120822 | |||
4 | ![]() |
ELEM_URI | Call by reference | Type reference (TYPE) | STRING | 20120822 | |||
5 | ![]() |
LOCAL_NSDECLS | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | Table of prefix to namespace URI mappings | 20120822 | ||
6 | ![]() |
URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | Table of namespace URI to prefix mappings | 20120822 |
Method CREATE_ELEMENT on class CL_XLFT_TTX_SNIPPET_TO_ELEM has no exception.
Method DETERMINE_PREFIXES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ATTRIBUTES | Call by reference | Type reference (TYPE) | TXLFT_XLIFF_ATTRIBUTE | Table of XLIFF element attributes | 20120822 | ||
2 | ![]() |
ELEM_PREFIX | Call by reference | Type reference (TYPE) | STRING | 20120822 | |||
3 | ![]() |
ELEM_URI | Call by reference | Type reference (TYPE) | STRING | 20120822 | |||
4 | ![]() |
LOCAL_PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | Table of prefix to namespace URI mappings | 20120822 | ||
5 | ![]() |
NSDECLS | Call by reference | Type reference (TYPE) | TXLFT_XLIFF_NSDECL | Table of XLIFF namespace declarations | 20120822 | ||
6 | ![]() |
PARENT_PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | Table of prefix to namespace URI mappings | 20120822 | ||
7 | ![]() |
PARENT_URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | Table of namespace URI to prefix mappings | 20120822 | ||
8 | ![]() |
PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | Table of prefix to namespace URI mappings | 20120822 | ||
9 | ![]() |
URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | Table of namespace URI to prefix mappings | 20120822 |
Method DETERMINE_PREFIXES on class CL_XLFT_TTX_SNIPPET_TO_ELEM has no exception.
Method GENERATE_PREFIX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PREFIX | Value transfer | Type reference (TYPE) | STRING | 20120822 | |||
2 | ![]() |
PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | Table of prefix to namespace URI mappings | 20120822 | ||
3 | ![]() |
URI | Call by reference | Type reference (TYPE) | STRING | 20120822 |
Method GENERATE_PREFIX on class CL_XLFT_TTX_SNIPPET_TO_ELEM has no exception.
Method INSERT 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 | XML Document | 20120822 | ||
2 | ![]() |
MODE | Call by reference | Type reference (TYPE) | I | Insert source or target | 20120822 | ||
3 | ![]() |
PARENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | Target XML Document | 20120822 | ||
4 | ![]() |
PARENT_PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | Table of prefix to namespace URI mappings | 20120822 | ||
5 | ![]() |
PARENT_URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | Table of namespace URI to prefix mappings | 20120822 | ||
6 | ![]() |
SNIPPET | Call by reference | Type reference (TYPE) | XLFT_BLOB | TTX Snippet | 20120822 | ||
7 | ![]() |
SOURCE_LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Source Language | 20120822 | ||
8 | ![]() |
TARGET_LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | Target Language | 20120822 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Base class for XLIFF Translation exceptions | 20120822 |
Method INSERT_INTERNAL Signature
Method INSERT_INTERNAL on class CL_XLFT_TTX_SNIPPET_TO_ELEM has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Base class for XLIFF Translation exceptions | 20120822 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 740 |