SAP ABAP Class CL_XLFT_TTX_SNIPPET_INSERTER (Inserts TTX snippets into a TTX DOM)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DOC-TTL (Application Component) Translation Tools
⤷
SLXE_XLFT (Package) XLIFF 1.2 Translation
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_XLFT_TTX_SNIPPET_IOBASE | Base class for TTX snippet I/O | 20110110 |
Properties
| Class | CL_XLFT_TTX_SNIPPET_INSERTER | |
| Short Description | Inserts TTX snippets into a TTX DOM | |
| Super Class | CL_XLFT_TTX_SNIPPET_IOBASE | Base class for TTX snippet I/O |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLXE_XLFT | XLIFF 1.2 Translation |
| Created | 20110110 | SAP |
| Last change | 20130531 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_XLFT_TTX_SNIPPET_INSERTER has no interface implemented.
Friends
Class CL_XLFT_TTX_SNIPPET_INSERTER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | `http://www.w3.org/XML/1998/namespace` | 20110218 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20110110 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20110110 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | TXLFT_PREFIX2URI | 20110110 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | TXLFT_URI2PREFIX | 20110110 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20110119 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | XSTRING | 20110110 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20110110 | |
| 2 | Instance method | Private | Method | 20110110 | ||
| 3 | Instance method | Private | Method | 20110110 | ||
| 4 | Instance method | Private | Method | 20110110 | ||
| 5 | Instance method | Private | Method | 20110110 | ||
| 6 | Instance method | Private | Method | 20110110 | ||
| 7 | Instance method | Private | Method | 20110110 | ||
| 8 | Instance method | Private | Method | 20110110 | ||
| 9 | Static method | Public | Method | 20110110 |
Events
Class CL_XLFT_TTX_SNIPPET_INSERTER has no event.
Types
Class CL_XLFT_TTX_SNIPPET_INSERTER 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 | 20110112 | |||
| 2 | MARK_TUS_AS_XTRANSLATED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110119 | ||||
| 3 | PARENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20110110 | |||
| 4 | PARENT_PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | 20110110 | ||||
| 5 | PARENT_URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | 20110110 | ||||
| 6 | SNIPPET | Call by reference | Type reference (TYPE) | XSTRING | 20110110 |
Method CONSTRUCTOR on class CL_XLFT_TTX_SNIPPET_INSERTER has no exception.
Method CREATE_ELEM_END_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ELEM_END_TEXT | Value transfer | Type reference (TYPE) | STRING | 20110110 | ||||
| 2 | ELEM_NAME | Call by reference | Type reference (TYPE) | STRING | 20110110 | ||||
| 3 | ELEM_URI | Call by reference | Type reference (TYPE) | STRING | 20110110 | ||||
| 4 | URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | 20110110 |
Method CREATE_ELEM_END_TEXT on class CL_XLFT_TTX_SNIPPET_INSERTER has no exception.
Method CREATE_ELEM_START_TEXT 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 | 20110110 | |||
| 2 | ELEM_NAME | Call by reference | Type reference (TYPE) | STRING | 20110110 | ||||
| 3 | ELEM_START_TEXT | Value transfer | Type reference (TYPE) | STRING | 20110110 | ||||
| 4 | ELEM_URI | Call by reference | Type reference (TYPE) | STRING | 20110110 | ||||
| 5 | LOCAL_NSDECLS | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | 20110110 | ||||
| 6 | URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | 20110110 |
Method CREATE_ELEM_START_TEXT on class CL_XLFT_TTX_SNIPPET_INSERTER 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 | 20110110 | |||
| 2 | ELEM_PREFIX | Call by reference | Type reference (TYPE) | STRING | 20110110 | ||||
| 3 | ELEM_URI | Call by reference | Type reference (TYPE) | STRING | 20110110 | ||||
| 4 | LOCAL_PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | 20110110 | ||||
| 5 | NSDECLS | Call by reference | Type reference (TYPE) | TXLFT_XLIFF_NSDECL | Table of XLIFF namespace declarations | 20110110 | |||
| 6 | PARENT_PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | 20110110 | ||||
| 7 | PARENT_URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | 20110110 | ||||
| 8 | PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | 20110110 | ||||
| 9 | URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | 20110110 |
Method DETERMINE_PREFIXES on class CL_XLFT_TTX_SNIPPET_INSERTER has no exception.
Method ESCAPE_ATTRIBUTE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ESCAPED_VALUE | Value transfer | Type reference (TYPE) | STRING | 20110110 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | STRING | 20110110 |
Method ESCAPE_ATTRIBUTE_VALUE on class CL_XLFT_TTX_SNIPPET_INSERTER has no exception.
Method ESCAPE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ESCAPED_TEXT | Value transfer | Type reference (TYPE) | STRING | 20110110 | ||||
| 2 | TEXT | Call by reference | Type reference (TYPE) | STRING | 20110110 |
Method ESCAPE_TEXT on class CL_XLFT_TTX_SNIPPET_INSERTER 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 | 20110110 | ||||
| 2 | PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | 20110110 | ||||
| 3 | URI | Call by reference | Type reference (TYPE) | STRING | 20110110 |
Method GENERATE_PREFIX on class CL_XLFT_TTX_SNIPPET_INSERTER has no exception.
Method INSERT Signature
Method INSERT on class CL_XLFT_TTX_SNIPPET_INSERTER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Deserialization error | 20110110 |
Method INSERT_TTX_SNIPPET 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 | 20110112 | |||
| 2 | MARK_TUS_AS_XTRANSLATED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20110119 | ||||
| 3 | PARENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20110110 | |||
| 4 | PARENT_PREFIX2URI | Call by reference | Type reference (TYPE) | TXLFT_PREFIX2URI | 20110110 | ||||
| 5 | PARENT_URI2PREFIX | Call by reference | Type reference (TYPE) | TXLFT_URI2PREFIX | 20110110 | ||||
| 6 | SNIPPET | Call by reference | Type reference (TYPE) | XSTRING | 20110110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Deserialization error | 20110110 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |