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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_ABAP_CHAR_UTILITIES 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 GC_SAP_SC Constant Private Type reference (TYPE) STRING `sc` 20101222
2 GC_SAP_URI Constant Private Type reference (TYPE) STRING `urn:x-sap:sls-mlt` 20101222
3 GO_DESERIALIZER Static Attribute Private Object reference (TYPE REF TO) IF_XLF_DESERIALIZER XLIFF deserializer 20101221
4 GO_SERIALIZER Static Attribute Private Object reference (TYPE REF TO) IF_XLF_SERIALIZER XLIFF serializer 20101222
5 GV_FORBIDDEN_CHARS Static Attribute Private Type reference (TYPE) STRING 20101221
6 MO_PASSED_METADATA Instance attribute Private Object reference (TYPE REF TO) CL_XLFT_METADATA SAP specific metadata 20101221
7 MV_ALLOW_ORIG_LANG_CHANGE Instance attribute Private Type reference (TYPE) ABAP_BOOL 20101221
8 MV_AREA Instance attribute Private Type reference (TYPE) LXECUSTMNR Translation Area 20101221
9 MV_PASSED_METADATA_OVERRIDES Instance attribute Private Type reference (TYPE) ABAP_BOOL 20101221
10 MV_SKIP_REVIEW Instance attribute Private Type reference (TYPE) ABAP_BOOL 20101221
11 MV_XLIFF_DATA Instance attribute Private Type reference (TYPE) XSTRING 20101221
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20101221
2 COLLECT_DEV_COMMENTS Instance method Private Method 20111123
3 COLLECT_LONG_TEXT Instance method Private Method 20101222
4 COLLECT_SHORT_TEXT Instance method Private Method 20101222
5 COLLECT_TEXTS_FROM_GROUP Instance method Private Method 20101221
6 COLLECT_TEXTS_FROM_SUS Instance method Private Method 20101221
7 COLLECT_TEXT_FROM_TRANS_UNIT Instance method Private Method 20101221
8 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20101221
9 DETERMINE_METADATA Instance method Private Method 20101221
10 DETERMINE_ORIG_LANG Instance method Private Method 20101221
11 DETERMINE_STEXT_THRESHOLD Instance method Private Method 20130613
12 DO_CODEPAGE_CHECK Instance method Private Method 20101221
13 DO_IMPORT Instance method Private Method 20101221
14 EXTRACT_SAP_TEXT_TYPE Instance method Private Method 20101222
15 EXTRACT_TEXTS Instance method Private Method 20101221
16 IMPORT Static method Public Method 20101221
17 INSERT_NEW_OBJECT Instance method Private Method 20101222
18 IS_EMPTY_TEXT Instance method Private Method 20101222
19 IS_SHORT_TEXT Instance method Private Method 20101221
20 OBJECT_EXISTS Instance method Private Method 20101222
21 PARSE_XLIFF Instance method Private Method 20101221
22 UPDATE_EXISTING_OBJECT Instance method Private Method 20101227
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 Changing DEV_COMMENTS Call by reference Type reference (TYPE) T_DEVCOMMENT 20111123
2 Importing 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 Changing COUNTER Call by reference Type reference (TYPE) I 20101227
2 Changing LONG_TEXTS Call by reference Type reference (TYPE) T_LTEXT 20101227
3 Importing TRANS_UNIT Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_TRANS_UNIT Translation unit 20101222
# Exception Resumable Description Created on
1 CX_XLFT 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 Changing COUNTER Call by reference Type reference (TYPE) I 20101227
2 Changing SHORT_TEXTS Call by reference Type reference (TYPE) T_STEXT 20101227
3 Importing TRANS_UNIT Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_TRANS_UNIT Translation unit 20101222
# Exception Resumable Description Created on
1 CX_XLFT 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 Changing COUNTER Call by reference Type reference (TYPE) I 20101227
2 Changing DEV_COMMENTS Call by reference Type reference (TYPE) T_DEVCOMMENT 20111123
3 Importing GROUP Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_GROUP Group 20101221
4 Changing LONG_TEXTS Call by reference Type reference (TYPE) T_LTEXT 20101227
5 Changing SHORT_TEXTS Call by reference Type reference (TYPE) T_STEXT 20101227
6 Importing STEXT_THRESHOLD Call by reference Type reference (TYPE) I 20130621
# Exception Resumable Description Created on
1 CX_XLFT 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 Changing COUNTER Call by reference Type reference (TYPE) I 20101227
2 Changing DEV_COMMENTS Call by reference Type reference (TYPE) T_DEVCOMMENT 20111123
3 Changing LONG_TEXTS Call by reference Type reference (TYPE) T_LTEXT 20101227
4 Changing SHORT_TEXTS Call by reference Type reference (TYPE) T_STEXT 20101227
5 Importing STEXT_THRESHOLD Call by reference Type reference (TYPE) I 20130621
6 Importing SUS Call by reference Type reference (TYPE) TXLF_STRUCTURAL_UNIT Table of structural units 20101221
# Exception Resumable Description Created on
1 CX_XLFT 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 Changing COUNTER Call by reference Type reference (TYPE) I 20101227
2 Changing DEV_COMMENTS Call by reference Type reference (TYPE) T_DEVCOMMENT 20111123
3 Changing LONG_TEXTS Call by reference Type reference (TYPE) T_LTEXT 20101227
4 Changing SHORT_TEXTS Call by reference Type reference (TYPE) T_STEXT 20101227
5 Importing STEXT_THRESHOLD Call by reference Type reference (TYPE) I 20130621
6 Importing TRANS_UNIT Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_TRANS_UNIT Translation unit 20101221
# Exception Resumable Description Created on
1 CX_XLFT 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 Importing ALLOW_ORIG_LANG_CHANGE Call by reference Type reference (TYPE) ABAP_BOOL 20101221
2 Importing AREA Call by reference Type reference (TYPE) LXECUSTMNR Translation Area 20101221
3 Importing METADATA Call by reference Object reference (TYPE REF TO) CL_XLFT_METADATA SAP specific metadata 20101221
4 Importing PASSED_METADATA_OVERRIDES Call by reference Type reference (TYPE) ABAP_BOOL 20101221
5 Importing SKIP_REVIEW Call by reference Type reference (TYPE) ABAP_BOOL 20101221
6 Importing 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 Returning METADATA Value transfer Object reference (TYPE REF TO) CL_XLFT_METADATA SAP specific metadata 20101227
2 Importing XLIFF Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_XLIFF XLIFF document 20101227
# Exception Resumable Description Created on
1 CX_XLFT 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 Returning ORIG_LANG Value transfer Type reference (TYPE) LXEISOLANG ISO Language ID 20101227
2 Importing XLIFF Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_XLIFF XLIFF document 20101227
# Exception Resumable Description Created on
1 CX_XLFT 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 Returning 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 Importing XLIFF Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_XLIFF XLIFF document 20101227
# Exception Resumable Description Created on
1 CX_XLFT 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 CX_XLFT 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 Returning SAP_TEXT_TYPE Value transfer Type reference (TYPE) LXETEXTTYPE Text Type 20101222
2 Importing 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 Exporting DEV_COMMENTS Call by reference Type reference (TYPE) T_DEVCOMMENT 20111123
2 Exporting LONG_TEXTS Call by reference Type reference (TYPE) T_LTEXT 20101227
3 Exporting SHORT_TEXTS Call by reference Type reference (TYPE) T_STEXT 20101227
4 Importing STEXT_THRESHOLD Call by reference Type reference (TYPE) I 20130621
5 Importing XLIFF Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_XLIFF XLIFF document 20101227
# Exception Resumable Description Created on
1 CX_XLFT 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 Importing ALLOW_ORIG_LANG_CHANGE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20101221
2 Importing AREA Call by reference Type reference (TYPE) LXECUSTMNR Translation Area 20101221
3 Importing METADATA Call by reference Object reference (TYPE REF TO) CL_XLFT_METADATA SAP specific metadata 20101221
4 Importing PASSED_METADATA_OVERRIDES Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20101221
5 Importing SKIP_REVIEW Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20101221
6 Importing XLIFF Call by reference Type reference (TYPE) XSTRING 20101221
# Exception Resumable Description Created on
1 CX_XLFT 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 Importing DEV_COMMENTS Call by reference Type reference (TYPE) T_DEVCOMMENT 20111123
2 Importing LONG_TEXTS Call by reference Type reference (TYPE) T_LTEXT 20101227
3 Importing METADATA Call by reference Object reference (TYPE REF TO) CL_XLFT_METADATA SAP specific metadata 20101227
4 Importing ORIG_LANG Call by reference Type reference (TYPE) LXEISOLANG ISO Language ID 20101227
5 Importing SHORT_TEXTS Call by reference Type reference (TYPE) T_STEXT 20101227
6 Importing XLIFF Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_XLIFF XLIFF document 20101227
# Exception Resumable Description Created on
1 CX_XLFT 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 Importing FRAGMENTS Call by reference Type reference (TYPE) TXLF_TEXT_FRAGMENT Table of text fragments 20101222
2 Returning 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 Importing FRAGMENTS Call by reference Type reference (TYPE) TXLF_TEXT_FRAGMENT Table of text fragments 20101221
2 Returning IS_SHORT_TEXT Value transfer Type reference (TYPE) ABAP_BOOL 20101221
3 Importing 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 Importing OBJECTNAME Call by reference Type reference (TYPE) LXEOBJNAME Name of Translation Object 20101227
2 Returning 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 Returning XLIFF Value transfer Object reference (TYPE REF TO) IF_XLF_ELEM_XLIFF XLIFF document 20101227
# Exception Resumable Description Created on
1 CX_XLFT 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 Importing DEV_COMMENTS Call by reference Type reference (TYPE) T_DEVCOMMENT 20111123
2 Importing LONG_TEXTS Call by reference Type reference (TYPE) T_LTEXT 20101227
3 Importing METADATA Call by reference Object reference (TYPE REF TO) CL_XLFT_METADATA SAP specific metadata 20101227
4 Importing ORIG_LANG Call by reference Type reference (TYPE) LXEISOLANG ISO Language ID 20101227
5 Importing SHORT_TEXTS Call by reference Type reference (TYPE) T_STEXT 20101227
6 Importing XLIFF Call by reference Object reference (TYPE REF TO) IF_XLF_ELEM_XLIFF XLIFF document 20101227
# Exception Resumable Description Created on
1 CX_XLFT Base class for XLIFF Translation exceptions 20110124
History
Last changed by/on SAP  20130531 
SAP Release Created in 731