SAP ABAP Class CL_XLFT_XLIFF_IMPORT (Imports XLIFFs into the translation system)
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_XLIFF_IMPORT | |
| Short Description | Imports XLIFFs into the translation system | |
| 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 | 20101221 | 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_XLIFF_IMPORT has no interface implemented.
Friends
Class CL_XLFT_XLIFF_IMPORT 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 | `sc` | 20101222 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | `urn:x-sap:sls-mlt` | 20101222 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_XLF_DESERIALIZER | XLIFF deserializer | 20101221 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_XLF_SERIALIZER | XLIFF serializer | 20101222 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | STRING | 20101221 | ||||
| 6 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101221 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20101221 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20101221 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20101221 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20101221 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | XSTRING | 20101221 |
Methods
Events
Class CL_XLFT_XLIFF_IMPORT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_DEVCOMMENT | Private | See coding | 20111123 | begin of s_devcomment,
id type string,
comment_counter type i,
comment type string,
end of s_devcomment
|
||
| 2 | S_LTEXT | Private | See coding | 20101221 | begin of s_ltext,
id TYPE string,
counter TYPE i,
source TYPE REF TO if_xlf_elem_source,
type TYPE string,
end of s_ltext
|
||
| 3 | S_STEXT | Private | See coding | 20101221 | begin of S_STEXT,
id TYPE string,
counter TYPE i,
text TYPE string,
type TYPE string,
maxlength TYPE i,
end of s_stext
|
||
| 4 | T_DEVCOMMENT | Private | See coding | 20111123 | t_devcomment type hashed table of s_devcomment with unique key id comment_counter
|
||
| 5 | T_LTEXT | Private | See coding | 20101221 | t_ltext type hashed table of s_ltext with unique key id
|
||
| 6 | T_STEXT | Private | See coding | 20101221 | t_stext type hashed table of s_stext with unique key id
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XLFT_XLIFF_IMPORT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XLFT_XLIFF_IMPORT has no exception.
Method COLLECT_DEV_COMMENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEV_COMMENTS | Call by reference | Type reference (TYPE) | T_DEVCOMMENT | 20111123 | ||||
| 2 | TRANS_UNIT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20111123 |
Method COLLECT_DEV_COMMENTS on class CL_XLFT_XLIFF_IMPORT has no exception.
Method COLLECT_LONG_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNTER | Call by reference | Type reference (TYPE) | I | 20101227 | ||||
| 2 | LONG_TEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20101227 | ||||
| 3 | TRANS_UNIT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20101222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method COLLECT_SHORT_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNTER | Call by reference | Type reference (TYPE) | I | 20101227 | ||||
| 2 | SHORT_TEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20101227 | ||||
| 3 | TRANS_UNIT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20101222 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method COLLECT_TEXTS_FROM_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNTER | Call by reference | Type reference (TYPE) | I | 20101227 | ||||
| 2 | DEV_COMMENTS | Call by reference | Type reference (TYPE) | T_DEVCOMMENT | 20111123 | ||||
| 3 | GROUP | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_GROUP | Group | 20101221 | |||
| 4 | LONG_TEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20101227 | ||||
| 5 | SHORT_TEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20101227 | ||||
| 6 | STEXT_THRESHOLD | Call by reference | Type reference (TYPE) | I | 20130621 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method COLLECT_TEXTS_FROM_SUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNTER | Call by reference | Type reference (TYPE) | I | 20101227 | ||||
| 2 | DEV_COMMENTS | Call by reference | Type reference (TYPE) | T_DEVCOMMENT | 20111123 | ||||
| 3 | LONG_TEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20101227 | ||||
| 4 | SHORT_TEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20101227 | ||||
| 5 | STEXT_THRESHOLD | Call by reference | Type reference (TYPE) | I | 20130621 | ||||
| 6 | SUS | Call by reference | Type reference (TYPE) | TXLF_STRUCTURAL_UNIT | Table of structural units | 20101221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method COLLECT_TEXT_FROM_TRANS_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COUNTER | Call by reference | Type reference (TYPE) | I | 20101227 | ||||
| 2 | DEV_COMMENTS | Call by reference | Type reference (TYPE) | T_DEVCOMMENT | 20111123 | ||||
| 3 | LONG_TEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20101227 | ||||
| 4 | SHORT_TEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20101227 | ||||
| 5 | STEXT_THRESHOLD | Call by reference | Type reference (TYPE) | I | 20130621 | ||||
| 6 | TRANS_UNIT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20101221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALLOW_ORIG_LANG_CHANGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20101221 | ||||
| 2 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20101221 | |||
| 3 | METADATA | Call by reference | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101221 | |||
| 4 | PASSED_METADATA_OVERRIDES | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20101221 | ||||
| 5 | SKIP_REVIEW | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20101221 | ||||
| 6 | XLIFF | Call by reference | Type reference (TYPE) | XSTRING | 20101221 |
Method CONSTRUCTOR on class CL_XLFT_XLIFF_IMPORT has no exception.
Method DETERMINE_METADATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | METADATA | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101227 | |||
| 2 | XLIFF | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method DETERMINE_ORIG_LANG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ORIG_LANG | Value transfer | Type reference (TYPE) | LXEISOLANG | ISO Language ID | 20101227 | |||
| 2 | XLIFF | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method DETERMINE_STEXT_THRESHOLD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STEXT_THRESHOLD | Value transfer | Type reference (TYPE) | I | 20130621 |
Method DETERMINE_STEXT_THRESHOLD on class CL_XLFT_XLIFF_IMPORT has no exception.
Method DO_CODEPAGE_CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XLIFF | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method DO_IMPORT Signature
Method DO_IMPORT on class CL_XLFT_XLIFF_IMPORT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method EXTRACT_SAP_TEXT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SAP_TEXT_TYPE | Value transfer | Type reference (TYPE) | LXETEXTTYPE | Text Type | 20101222 | |||
| 2 | TRANS_UNIT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_TRANS_UNIT | Translation unit | 20101222 |
Method EXTRACT_SAP_TEXT_TYPE on class CL_XLFT_XLIFF_IMPORT has no exception.
Method EXTRACT_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEV_COMMENTS | Call by reference | Type reference (TYPE) | T_DEVCOMMENT | 20111123 | ||||
| 2 | LONG_TEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20101227 | ||||
| 3 | SHORT_TEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20101227 | ||||
| 4 | STEXT_THRESHOLD | Call by reference | Type reference (TYPE) | I | 20130621 | ||||
| 5 | XLIFF | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method IMPORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALLOW_ORIG_LANG_CHANGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20101221 | |||
| 2 | AREA | Call by reference | Type reference (TYPE) | LXECUSTMNR | Translation Area | 20101221 | |||
| 3 | METADATA | Call by reference | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101221 | |||
| 4 | PASSED_METADATA_OVERRIDES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20101221 | |||
| 5 | SKIP_REVIEW | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20101221 | |||
| 6 | XLIFF | Call by reference | Type reference (TYPE) | XSTRING | 20101221 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method INSERT_NEW_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEV_COMMENTS | Call by reference | Type reference (TYPE) | T_DEVCOMMENT | 20111123 | ||||
| 2 | LONG_TEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20101227 | ||||
| 3 | METADATA | Call by reference | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101227 | |||
| 4 | ORIG_LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | ISO Language ID | 20101227 | |||
| 5 | SHORT_TEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20101227 | ||||
| 6 | XLIFF | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method IS_EMPTY_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FRAGMENTS | Call by reference | Type reference (TYPE) | TXLF_TEXT_FRAGMENT | Table of text fragments | 20101222 | |||
| 2 | IS_EMPTY_TEXT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20101222 |
Method IS_EMPTY_TEXT on class CL_XLFT_XLIFF_IMPORT has no exception.
Method IS_SHORT_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FRAGMENTS | Call by reference | Type reference (TYPE) | TXLF_TEXT_FRAGMENT | Table of text fragments | 20101221 | |||
| 2 | IS_SHORT_TEXT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20101221 | ||||
| 3 | STEXT_THRESHOLD | Call by reference | Type reference (TYPE) | I | 20130621 |
Method IS_SHORT_TEXT on class CL_XLFT_XLIFF_IMPORT has no exception.
Method OBJECT_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECTNAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20101227 | |||
| 2 | OBJECT_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20101222 |
Method OBJECT_EXISTS on class CL_XLFT_XLIFF_IMPORT has no exception.
Method PARSE_XLIFF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XLIFF | Value transfer | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
Method UPDATE_EXISTING_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEV_COMMENTS | Call by reference | Type reference (TYPE) | T_DEVCOMMENT | 20111123 | ||||
| 2 | LONG_TEXTS | Call by reference | Type reference (TYPE) | T_LTEXT | 20101227 | ||||
| 3 | METADATA | Call by reference | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101227 | |||
| 4 | ORIG_LANG | Call by reference | Type reference (TYPE) | LXEISOLANG | ISO Language ID | 20101227 | |||
| 5 | SHORT_TEXTS | Call by reference | Type reference (TYPE) | T_STEXT | 20101227 | ||||
| 6 | XLIFF | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101227 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Base class for XLIFF Translation exceptions | 20110124 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |