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
⤷
⤷
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 | 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 | Constant | Private | Type reference (TYPE) | STRING | `collection` | 20101214 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | `description` | 20101214 | |||
| 3 | Constant | Private | Type reference (TYPE) | STRING | `developer` | 20101214 | |||
| 4 | Constant | Private | Type reference (TYPE) | STRING | `domain` | 20101214 | |||
| 5 | Constant | Private | Type reference (TYPE) | STRING | `metadata` | 20101214 | |||
| 6 | Constant | Private | Type reference (TYPE) | STRING | `urn:x-sap:mlt:xliff12:metadata:1.0` | 20101214 | |||
| 7 | Constant | Private | Type reference (TYPE) | STRING | `object-name` | 20101214 | |||
| 8 | Constant | Private | Type reference (TYPE) | STRING | `origin` | 20101214 | |||
| 9 | Constant | Private | Type reference (TYPE) | STRING | `urn:x-sap:mlt:tsmetadata:1.0` | 20101214 | |||
| 10 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_XLF_ELEMENT_FACTORY | XLIFF element factory | 20101214 | |||
| 11 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_XLF_TEXT_FACTORY | XLIFF Text factory | 20101214 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | LXECOLLNAM | Collection Name | 20101214 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101214 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101214 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | LXEDOMANAM | Domain Name | 20101214 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20101214 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | STRING | 20101214 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20101215 | |
| 2 | Instance method | Private | Constructor | CONSTRUCTOR | 20101215 | |
| 3 | Static method | Public | Method | Create SAP specific metadata instance | 20101215 | |
| 4 | Static method | Private | Method | 20101215 | ||
| 5 | Static method | Public | Method | Extracts SAP specific metadata from an XLIFF file | 20101215 | |
| 6 | Static method | Public | Method | Extracts SAP specific metdata from an XLIFF header | 20101215 | |
| 7 | Static method | Public | Method | Extracts SAP specific metadata from non-XLIFF elements | 20101215 | |
| 8 | Static method | Public | Method | Extracts SAP specific metdata from an XLIFF | 20101215 | |
| 9 | Instance method | Public | Method | Returns the collection name | 20101215 | |
| 10 | Instance method | Public | Method | Returns the description | 20101215 | |
| 11 | Instance method | Public | Method | Returns the developer contact | 20101215 | |
| 12 | Instance method | Public | Method | Returns the domain | 20101215 | |
| 13 | Instance method | Public | Method | Returns the object name | 20101215 | |
| 14 | Instance method | Public | Method | Returns the origin | 20101215 | |
| 15 | Static method | Private | Method | 20101215 | ||
| 16 | Instance method | Public | Method | Return true if this instance contains all mandatory metadata | 20101215 | |
| 17 | Instance method | Public | Method | Merges the passed metadata overwriting existing values | 20101215 | |
| 18 | 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 | COLLECTION | Call by reference | Type reference (TYPE) | LXECOLLNAM | Collection Name | 20101215 | |||
| 2 | DESCRIPTION | Call by reference | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101215 | |||
| 3 | DEVELOPER | Call by reference | Type reference (TYPE) | LXEUNITLIN | Translation Unit for Short Text (Line) | 20101215 | |||
| 4 | DOMAIN | Call by reference | Type reference (TYPE) | LXEDOMANAM | Domain Name | 20101215 | |||
| 5 | OBJECT_NAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | Name of Translation Object | 20101215 | |||
| 6 | 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 | COLLECTION | Call by reference | Type reference (TYPE) | LXECOLLNAM | '' | Collection Name | 20101215 | ||
| 2 | DESCRIPTION | Call by reference | Type reference (TYPE) | LXEUNITLIN | '' | Translation Unit for Short Text (Line) | 20101215 | ||
| 3 | DEVELOPER | Call by reference | Type reference (TYPE) | LXEUNITLIN | '' | Translation Unit for Short Text (Line) | 20101215 | ||
| 4 | DOMAIN | Call by reference | Type reference (TYPE) | LXEDOMANAM | '' | Domain Name | 20101215 | ||
| 5 | INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 | |||
| 6 | OBJECT_NAME | Call by reference | Type reference (TYPE) | LXEOBJNAME | '' | Name of Translation Object | 20101215 | ||
| 7 | 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 | ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_NON_XLIFF | Non-XLIFF element | 20101215 | |||
| 2 | METADATA | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid metadata | 20110210 |
Method CREATE_FROM_FILE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILE | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_FILE | File | 20101215 | |||
| 2 | METADATA | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid metadata | 20110210 |
Method CREATE_FROM_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HEADER | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_HEADER | File header | 20101215 | |||
| 2 | METADATA | Value transfer | Object reference (TYPE REF TO) | CL_XLFT_METADATA | SAP specific metadata | 20101215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid metadata | 20110210 |
Method CREATE_FROM_NXES 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 | 20101215 | |||
| 2 | NXES | Call by reference | Type reference (TYPE) | TXLF_NON_XLIFF_ELEMENT | Table of non-XLIFF elements | 20101215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid metadata | 20110210 |
Method CREATE_FROM_XLIFF 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 | 20101215 | |||
| 2 | XLIFF | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_XLIFF | XLIFF document | 20101215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid metadata | 20110210 |
Method GET_COLLECTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | 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 | 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 | 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 | 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 | CONTENT | Value transfer | Type reference (TYPE) | STRING | 20101215 | ||||
| 2 | ELEMENT | Call by reference | Object reference (TYPE REF TO) | IF_XLF_ELEM_NON_XLIFF | Non-XLIFF element | 20101215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid metadata | 20110210 |
Method IS_COMPLETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | Metadata is incomplete | 20110210 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 731 |