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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_XLFT_TTX_BUILDER 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 GC_XML_NAMESPACE Constant Private Type reference (TYPE) STRING `http://www.w3.org/XML/1998/namespace` 20110218
2 MO_DOCUMENT Instance attribute Private Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20110110
3 MO_PARENT Instance attribute Private Object reference (TYPE REF TO) IF_IXML_ELEMENT IF_IXML_ELEMENT 20110110
4 MT_PARENT_PREFIX2URI Instance attribute Private Type reference (TYPE) TXLFT_PREFIX2URI 20110110
5 MT_PARENT_URI2PREFIX Instance attribute Private Type reference (TYPE) TXLFT_URI2PREFIX 20110110
6 MV_MARK_TUS_AS_XTRANSLATED Instance attribute Private Type reference (TYPE) ABAP_BOOL 20110119
7 MV_SNIPPET Instance attribute Private Type reference (TYPE) XSTRING 20110110
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20110110
2 CREATE_ELEM_END_TEXT Instance method Private Method 20110110
3 CREATE_ELEM_START_TEXT Instance method Private Method 20110110
4 DETERMINE_PREFIXES Instance method Private Method 20110110
5 ESCAPE_ATTRIBUTE_VALUE Instance method Private Method 20110110
6 ESCAPE_TEXT Instance method Private Method 20110110
7 GENERATE_PREFIX Instance method Private Method 20110110
8 INSERT Instance method Private Method 20110110
9 INSERT_TTX_SNIPPET 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 Importing DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20110112
2 Importing MARK_TUS_AS_XTRANSLATED Call by reference Type reference (TYPE) ABAP_BOOL 20110119
3 Importing PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT IF_IXML_ELEMENT 20110110
4 Importing PARENT_PREFIX2URI Call by reference Type reference (TYPE) TXLFT_PREFIX2URI 20110110
5 Importing PARENT_URI2PREFIX Call by reference Type reference (TYPE) TXLFT_URI2PREFIX 20110110
6 Importing 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 Returning ELEM_END_TEXT Value transfer Type reference (TYPE) STRING 20110110
2 Importing ELEM_NAME Call by reference Type reference (TYPE) STRING 20110110
3 Importing ELEM_URI Call by reference Type reference (TYPE) STRING 20110110
4 Importing 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 Importing ATTRIBUTES Call by reference Type reference (TYPE) TXLFT_XLIFF_ATTRIBUTE Table of XLIFF element attributes 20110110
2 Importing ELEM_NAME Call by reference Type reference (TYPE) STRING 20110110
3 Returning ELEM_START_TEXT Value transfer Type reference (TYPE) STRING 20110110
4 Importing ELEM_URI Call by reference Type reference (TYPE) STRING 20110110
5 Importing LOCAL_NSDECLS Call by reference Type reference (TYPE) TXLFT_PREFIX2URI 20110110
6 Importing 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 Importing ATTRIBUTES Call by reference Type reference (TYPE) TXLFT_XLIFF_ATTRIBUTE Table of XLIFF element attributes 20110110
2 Importing ELEM_PREFIX Call by reference Type reference (TYPE) STRING 20110110
3 Importing ELEM_URI Call by reference Type reference (TYPE) STRING 20110110
4 Exporting LOCAL_PREFIX2URI Call by reference Type reference (TYPE) TXLFT_PREFIX2URI 20110110
5 Importing NSDECLS Call by reference Type reference (TYPE) TXLFT_XLIFF_NSDECL Table of XLIFF namespace declarations 20110110
6 Importing PARENT_PREFIX2URI Call by reference Type reference (TYPE) TXLFT_PREFIX2URI 20110110
7 Importing PARENT_URI2PREFIX Call by reference Type reference (TYPE) TXLFT_URI2PREFIX 20110110
8 Exporting PREFIX2URI Call by reference Type reference (TYPE) TXLFT_PREFIX2URI 20110110
9 Exporting 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 Returning ESCAPED_VALUE Value transfer Type reference (TYPE) STRING 20110110
2 Importing 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 Returning ESCAPED_TEXT Value transfer Type reference (TYPE) STRING 20110110
2 Importing 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 Returning PREFIX Value transfer Type reference (TYPE) STRING 20110110
2 Importing PREFIX2URI Call by reference Type reference (TYPE) TXLFT_PREFIX2URI 20110110
3 Importing 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 CX_XLFT_DESERIALIZATION Deserialization error 20110110

Method INSERT_TTX_SNIPPET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DOCUMENT Call by reference Object reference (TYPE REF TO) IF_IXML_DOCUMENT IF_IXML_DOCUMENT 20110112
2 Importing MARK_TUS_AS_XTRANSLATED Call by reference Type reference (TYPE) ABAP_BOOL 20110119
3 Importing PARENT Call by reference Object reference (TYPE REF TO) IF_IXML_ELEMENT IF_IXML_ELEMENT 20110110
4 Importing PARENT_PREFIX2URI Call by reference Type reference (TYPE) TXLFT_PREFIX2URI 20110110
5 Importing PARENT_URI2PREFIX Call by reference Type reference (TYPE) TXLFT_URI2PREFIX 20110110
6 Importing SNIPPET Call by reference Type reference (TYPE) XSTRING 20110110
# Exception Resumable Description Created on
1 CX_XLFT_DESERIALIZATION Deserialization error 20110110
History
Last changed by/on SAP  20130531 
SAP Release Created in 731