SAP ABAP Class CL_XLFT_UTIL (Various util methods)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-DOC-TTL (Application Component) Translation Tools
⤷ SLXE_XLFT (Package) XLIFF 1.2 Translation
⤷ BC-DOC-TTL (Application Component) Translation Tools
⤷ SLXE_XLFT (Package) XLIFF 1.2 Translation
Properties
Class | CL_XLFT_UTIL | |
Short Description | Various util methods | |
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 | 20101217 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_XLFT_UTIL has no forward declaration.
Interfaces
Class CL_XLFT_UTIL has no interface implemented.
Friends
Class CL_XLFT_UTIL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GV_CR | Static Attribute | Private | Type reference (TYPE) | C | 20110224 | |||
2 | GV_CRLFTAB | Static Attribute | Private | Type reference (TYPE) | STRING | 20110224 | |||
3 | GV_WHITESPACE | Static Attribute | Private | Type reference (TYPE) | STRING | 20120208 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20110224 |
2 | I_TO_HEXSTRING | Static method | Public | Method | Converts an integer to a hexadecimal string | 20120606 |
3 | I_TO_STRING | Static method | Public | Method | Converts an integer to a string | 20110103 |
4 | SHORTEN_TEXTKEY | Static method | Public | Method | Shortens a key by hashing it if necessary | 20101217 |
5 | STRING_TO_I | Static method | Public | Method | Converts a string to an integer | 20101222 |
6 | STRIP_ROOT_ELEM | Static method | Public | Method | Strips the XML root element from a string | 20120208 |
Events
Class CL_XLFT_UTIL has no event.
Types
Class CL_XLFT_UTIL has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XLFT_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XLFT_UTIL has no exception.
Method I_TO_HEXSTRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | HEX | Value transfer | Type reference (TYPE) | STRING | 20120606 | |||
2 | Importing | I | Call by reference | Type reference (TYPE) | I | 20120606 | |||
3 | Importing | MINLENGTH | Call by reference | Type reference (TYPE) | I | 1 | 20120606 |
Method I_TO_HEXSTRING on class CL_XLFT_UTIL has no exception.
Method I_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I | Value transfer | Type reference (TYPE) | I | 20110103 | |||
2 | Returning | STRING | Value transfer | Type reference (TYPE) | STRING | 20110103 |
Method I_TO_STRING on class CL_XLFT_UTIL has no exception.
Method SHORTEN_TEXTKEY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | HASH | Value transfer | Type reference (TYPE) | XLFT_SHORTKEY | A "short" textkey (using only 26 characters instead of 32) | 20101217 | ||
2 | Importing | KEY | Call by reference | Type reference (TYPE) | STRING | 20101217 |
Method SHORTEN_TEXTKEY on class CL_XLFT_UTIL has no exception.
Method STRING_TO_I Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | I | Value transfer | Type reference (TYPE) | I | 20101222 | |||
2 | Importing | STRING | Call by reference | Type reference (TYPE) | STRING | 20101222 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SY_CONVERSION_NO_NUMBER | System Exception Converting to a Number | 20101222 |
Method STRIP_ROOT_ELEM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | RET | Value transfer | Type reference (TYPE) | STRING | 20120208 | |||
2 | Importing | S | Call by reference | Type reference (TYPE) | STRING | 20120208 |
Method STRIP_ROOT_ELEM on class CL_XLFT_UTIL has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 731 |