SAP ABAP Class CL_XLFT_METADATA (SAP specific metadata)
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_METADATA | |
Short Description | SAP specific metadata | |
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 | 20101214 | SAP |
Last change | 20110908 | 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) |
Interfaces
Class CL_XLFT_METADATA has no interface implemented.
Friends
Class CL_XLFT_METADATA has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | GC_COLLECTION_ELEM_NAME | Constant | Private | Type reference (TYPE) | STRING | `collection` | 20101214 | ||
2 | GC_DESCRIPTION_ELEM_NAME | Constant | Private | Type reference (TYPE) | STRING | `description` | 20101214 | ||
3 | GC_DEVELOPER_ELEM_NAME | Constant | Private | Type reference (TYPE) | STRING | `developer` | 20101214 | ||
4 | GC_DOMAIN_ELEM_NAME | Constant | Private | Type reference (TYPE) | STRING | `domain` | 20101214 | ||
5 | GC_METADATA_ELEM_NAME | Constant | Private | Type reference (TYPE) | STRING | `metadata` | 20101214 | ||
6 | GC_NAMESPACE | Constant | Private | Type reference (TYPE) | STRING | `urn:x-sap:mlt:xliff12:metadata:1.0` | 20101214 | ||
7 | GC_OBJECT_NAME_ELEM_NAME | Constant | Private | Type reference (TYPE) | STRING | `object-name` | 20101214 | ||
8 | GC_ORIGIN_ELEM_NAME | Constant | Private | Type reference (TYPE) | STRING | `origin` | 20101214 | ||
9 | GC_TSMD_NAMESPACE | Constant | Private | Type reference (TYPE) | STRING | `urn:x-sap:mlt:tsmetadata:1.0` | 20101214 | ||
10 | GO_ELEM_FACTORY | Static Attribute | Private | Object reference (TYPE REF TO) | IF_XLF_ELEMENT_FACTORY | XLIFF element factory | 20101214 | ||
11 | GO_TEXT_FACTORY | Static Attribute | Private | Object reference (TYPE REF TO) | IF_XLF_TEXT_FACTORY | XLIFF Text factory | 20101214 | ||
12 | MV_COLLECTION | Instance attribute | Private | Type reference (TYPE) | LXECOLLNAM | Collection Name | 20101214 | ||
13 | MV_DESCRIPTION | Instance attribute | Private | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101214 | ||
14 | MV_DEVELOPER | Instance attribute | Private | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101214 | ||
15 | MV_DOMAIN | Instance attribute | Private | Type reference (TYPE) | LXEDOMANAM | Domain Name | 20101214 | ||
16 | MV_OBJECT_NAME | Instance attribute | Private | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20101214 | ||
17 | MV_ORIGIN | Instance attribute | Private | Type reference (TYPE) | STRING | 20101214 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20101215 |
2 | CONSTRUCTOR | Instance method | Private | Constructor | CONSTRUCTOR | 20101215 |
3 | CREATE | Static method | Public | Method | Create SAP specific metadata instance | 20101215 |
4 | CREATE_FROM_ELEMENT | Static method | Private | Method | 20101215 | |
5 | CREATE_FROM_FILE | Static method | Public | Method | Extracts SAP specific metadata from an XLIFF file | 20101215 |
6 | CREATE_FROM_HEADER | Static method | Public | Method | Extracts SAP specific metdata from an XLIFF header | 20101215 |
7 | CREATE_FROM_NXES | Static method | Public | Method | Extracts SAP specific metadata from non-XLIFF elements | 20101215 |
8 | CREATE_FROM_XLIFF | Static method | Public | Method | Extracts SAP specific metdata from an XLIFF | 20101215 |
9 | GET_COLLECTION | Instance method | Public | Method | Returns the collection name | 20101215 |
10 | GET_DESCRIPTION | Instance method | Public | Method | Returns the description | 20101215 |
11 | GET_DEVELOPER | Instance method | Public | Method | Returns the developer contact | 20101215 |
12 | GET_DOMAIN | Instance method | Public | Method | Returns the domain | 20101215 |
13 | GET_OBJECT_NAME | Instance method | Public | Method | Returns the object name | 20101215 |
14 | GET_ORIGIN | Instance method | Public | Method | Returns the origin | 20101215 |
15 | GET_TEXT_CONTENT | Static method | Private | Method | 20101215 | |
16 | IS_COMPLETE | Instance method | Public | Method | Return true if this instance contains all mandatory metadata | 20101215 |
17 | MERGE | Instance method | Public | Method | Merges the passed metadata overwriting existing values | 20101215 |
18 | VERIFY_COMPLETE | Instance method | Public | Method | Verifies that the metadata is complete | 20101215 |
Events
Class CL_XLFT_METADATA has no event.
Types
Class CL_XLFT_METADATA has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_XLFT_METADATA has no parameter.
Method CLASS_CONSTRUCTOR on class CL_XLFT_METADATA has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COLLECTION | Call by reference | Type reference (TYPE) | LXECOLLNAM | Collection Name | 20101215 | ||
2 | Importing | DESCRIPTION | Call by reference | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101215 | ||
3 | Importing | DEVELOPER | Call by reference | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101215 | ||
4 | Importing | DOMAIN | Call by reference | Type reference (TYPE) | LXEDOMANAM | Domain Name | 20101215 | ||
5 | Importing | OBJECT_NAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20101215 | ||
6 | Importing | ORIGIN | Call by reference | Type reference (TYPE) | STRING | 20101215 |
Method CONSTRUCTOR on class CL_XLFT_METADATA has no exception.
Method CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | COLLECTION | Call by reference | Type reference (TYPE) | LXECOLLNAM | '' | Collection Name | 20101215 | |
2 | Importing | DESCRIPTION | Call by reference | Type reference (TYPE) | LXEUNITLIN | '' | Translation Unit for Short Text (Line) | 20101215 | |
3 | Importing | DEVELOPER | Call by reference | Type reference (TYPE) | LXEUNITLIN | '' | Translation Unit for Short Text (Line) | 20101215 | |
4 | Importing | DOMAIN | Call by reference | Type reference (TYPE) | LXEDOMANAM | '' | Domain Name | 20101215 | |
5 | Returning | INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 | ||
6 | Importing | OBJECT_NAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | '' | Name of Translation Object | 20101215 | |
7 | Importing | ORIGIN | Call by reference | Type reference (TYPE) | STRING | `` | 20101215 |
Method CREATE on class CL_XLFT_METADATA has no exception.
Method CREATE_FROM_ELEMENT 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_XLF_ELEM_NON_XLIFF | Non-XLIFF element | 20101215 | ||
2 | Returning | METADATA | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLFT_METADATA_INVALID | Invalid metadata | 20110210 |
Method CREATE_FROM_FILE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | FILE | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_FILE | File | 20101215 | ||
2 | Returning | METADATA | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLFT_METADATA_INVALID | Invalid metadata | 20110210 |
Method CREATE_FROM_HEADER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | HEADER | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_HEADER | File header | 20101215 | ||
2 | Returning | METADATA | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLFT_METADATA_INVALID | Invalid metadata | 20110210 |
Method CREATE_FROM_NXES 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 | 20101215 | ||
2 | Importing | NXES | Call by reference | Type reference (TYPE) | TXLF_NON_XLIFF_ELEMENT | Table of non-XLIFF elements | 20101215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLFT_METADATA_INVALID | Invalid metadata | 20110210 |
Method CREATE_FROM_XLIFF 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 | 20101215 | ||
2 | Importing | XLIFF | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLFT_METADATA_INVALID | Invalid metadata | 20110210 |
Method GET_COLLECTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | COLLECTION | Value transfer | Type reference (TYPE) | LXECOLLNAM | Collection Name | 20101215 |
Method GET_COLLECTION on class CL_XLFT_METADATA has no exception.
Method GET_DESCRIPTION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | DESCRIPTION | Value transfer | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101215 |
Method GET_DESCRIPTION on class CL_XLFT_METADATA has no exception.
Method GET_DEVELOPER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | DEVELOPER | Value transfer | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101215 |
Method GET_DEVELOPER on class CL_XLFT_METADATA has no exception.
Method GET_DOMAIN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | DOMAIN | Value transfer | Type reference (TYPE) | LXEDOMANAM | Domain Name | 20101215 |
Method GET_DOMAIN on class CL_XLFT_METADATA has no exception.
Method GET_OBJECT_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | OBJECT_NAME | Value transfer | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20101215 |
Method GET_OBJECT_NAME on class CL_XLFT_METADATA has no exception.
Method GET_ORIGIN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ORIGIN | Value transfer | Type reference (TYPE) | STRING | 20101215 |
Method GET_ORIGIN on class CL_XLFT_METADATA has no exception.
Method GET_TEXT_CONTENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | CONTENT | Value transfer | Type reference (TYPE) | STRING | 20101215 | |||
2 | Importing | ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_NON_XLIFF | Non-XLIFF element | 20101215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLFT_METADATA_INVALID | Invalid metadata | 20110210 |
Method IS_COMPLETE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | COMPLETE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20101215 |
Method IS_COMPLETE on class CL_XLFT_METADATA has no exception.
Method MERGE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | METADATA | Call by reference | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 |
Method MERGE on class CL_XLFT_METADATA has no exception.
Method VERIFY_COMPLETE Signature
Method VERIFY_COMPLETE on class CL_XLFT_METADATA has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_XLFT_METADATA_INCOMPLETE | Metadata is incomplete | 20110210 |
History
Last changed by/on | SAP | 20110908 |
SAP Release Created in | 731 |