SAP ABAP Class CL_XLF_ELEM_TRANS_UNIT (Translation unit)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DOC-TTL (Application Component) Translation Tools
⤷
SLXE_XLIFF (Package) XLIFF 1.2 Library
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_XLF_XLIFF_ELEMENT | Basic XLIFF element implementation | 20100927 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_XLF_CONTEXT_BIN_UNIT | Element that can appear in context of a bin-unit element | 20100927 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20100927 |
| 4 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_XLF_STRUCTURAL_UNIT | A group, trans-unit or bin-unit element | 20100927 |
Properties
| Class | CL_XLF_ELEM_TRANS_UNIT | |
| Short Description | Translation unit | |
| Super Class | CL_XLF_XLIFF_ELEMENT | Basic XLIFF 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 | 20100927 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_XLF_ELEM_TRANS_UNIT has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_XLF_CONTEXT_BIN_UNIT | Element that can appear in context of a bin-unit element | 20100927 | ||
| 2 | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20100927 | ||
| 3 | IF_XLF_STRUCTURAL_UNIT | A group, trans-unit or bin-unit element | 20100927 |
Friends
Class CL_XLF_ELEM_TRANS_UNIT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TXLF_STRING | Table of strings | 20100927 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | TXLF_STRING | Table of strings | 20100927 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | T_CONTEXT | 20100927 | ||||
| 4 | Static Attribute | Private | Type reference (TYPE) | TXLF_STRING | Table of strings | 20100927 | |||
| 5 | Instance attribute | Private | Attribute reference (LIKE) | 20100927 | |||||
| 6 | Instance attribute | Private | Type reference (TYPE) | TXLF_NON_XLIFF_ELEMENT | Table of non-XLIFF elements | 20100927 | |||
| 7 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_XLF_ELEM_SEG_SOURCE | Source text | 20100927 | |||
| 8 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_XLF_ELEM_SOURCE | Source text | 20100927 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_XLF_ELEM_TARGET | Target | 20100927 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20100927 | |
| 2 | Instance method | Private | Method | 20101004 | ||
| 3 | Instance method | Private | Method | 20101004 | ||
| 4 | Instance method | Public | Method | 20100927 | ||
| 5 | Instance method | Public | Method | 20100927 | ||
| 6 | Instance method | Public | Method | 20101118 | ||
| 7 | Instance method | Private | Method | 20100927 | ||
| 8 | Instance method | Private | Method | 20100927 |
Events
Class CL_XLF_ELEM_TRANS_UNIT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_CONTEXT | Private | Attribute reference (LIKE) | 20101004 | |
||
| 2 | T_HASHTABLE_STRING | Private | See coding | 20101004 | t_hashtable_string TYPE HASHED TABLE OF string WITH UNIQUE DEFAULT KEY
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XLF_ELEM_TRANS_UNIT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XLF_ELEM_TRANS_UNIT has no exception.
Method GET_ID Signature
Method GET_ID on class CL_XLF_ELEM_TRANS_UNIT has no parameter.
Method GET_ID on class CL_XLF_ELEM_TRANS_UNIT has no exception.
Method GET_SEG_SOURCE Signature
Method GET_SEG_SOURCE on class CL_XLF_ELEM_TRANS_UNIT has no parameter.
Method GET_SEG_SOURCE on class CL_XLF_ELEM_TRANS_UNIT has no exception.
Method INIT_TRANS_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ATTR_ID | Identifier | 20100927 | |||
| 2 | SOURCE | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_SOURCE | Source text | 20100927 |
Method INIT_TRANS_UNIT on class CL_XLF_ELEM_TRANS_UNIT has no exception.
Method INIT_TRANS_UNIT_FROM_ELEM 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 | 20100927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | A constraint of an XLIFF document is violated | 20100927 |
Method INIT_TRANS_UNIT_FROM_SER_ELEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SER_ELEM | Call by reference | Object reference (TYPE REF TO) | CL_XLF_SER_ELEM | 20101118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20101118 |
Method SET_ID Signature
Method SET_ID on class CL_XLF_ELEM_TRANS_UNIT has no parameter.
Method SET_ID on class CL_XLF_ELEM_TRANS_UNIT has no exception.
Method SET_SOURCE Signature
Method SET_SOURCE on class CL_XLF_ELEM_TRANS_UNIT has no parameter.
Method SET_SOURCE on class CL_XLF_ELEM_TRANS_UNIT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 703 |