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
⤷ 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 | ATTRS_ALLOWED | Static Attribute | Private | Type reference (TYPE) | TXLF_STRING | Table of strings | 20100927 | ||
2 | ATTRS_REQUIRED | Static Attribute | Private | Type reference (TYPE) | TXLF_STRING | Table of strings | 20100927 | ||
3 | CONTEXT | Instance attribute | Private | Type reference (TYPE) | T_CONTEXT | 20100927 | |||
4 | ELEM_NAMES | Static Attribute | Private | Type reference (TYPE) | TXLF_STRING | Table of strings | 20100927 | ||
5 | NAME | Instance attribute | Private | Attribute reference (LIKE) | 20100927 | ||||
6 | NON_XLIFF_ELEMENTS | Instance attribute | Private | Type reference (TYPE) | TXLF_NON_XLIFF_ELEMENT | Table of non-XLIFF elements | 20100927 | ||
7 | SEG_SOURCE | Instance attribute | Private | Object reference (TYPE REF TO) | IF_XLF_ELEM_SEG_SOURCE | Source text | 20100927 | ||
8 | SOURCE | Instance attribute | Private | Object reference (TYPE REF TO) | IF_XLF_ELEM_SOURCE | Source text | 20100927 | ||
9 | TARGET | Instance attribute | Private | Object reference (TYPE REF TO) | IF_XLF_ELEM_TARGET | Target | 20100927 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20100927 |
2 | GET_ID | Instance method | Private | Method | 20101004 | |
3 | GET_SEG_SOURCE | Instance method | Private | Method | 20101004 | |
4 | INIT_TRANS_UNIT | Instance method | Public | Method | 20100927 | |
5 | INIT_TRANS_UNIT_FROM_ELEM | Instance method | Public | Method | 20100927 | |
6 | INIT_TRANS_UNIT_FROM_SER_ELEM | Instance method | Public | Method | 20101118 | |
7 | SET_ID | Instance method | Private | Method | 20100927 | |
8 | SET_SOURCE | 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 | Importing | ID | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ATTR_ID | Identifier | 20100927 | ||
2 | Importing | 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 | Importing | ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | IF_IXML_ELEMENT | 20100927 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLF_CONSTRAINT_VIOLATION | 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 | Importing | SER_ELEM | Call by reference | Object reference (TYPE REF TO) | CL_XLF_SER_ELEM | 20101118 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLF_CONSTRAINT_VIOLATION | 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 |