SAP ABAP Class CL_DITAT_OBJTYPE_RESOLVER (Determines the object type of a file)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DOC-TTL (Application Component) Translation Tools
⤷
SLXE_DITAT (Package) DITA Translation
⤷
⤷
Properties
| Class | CL_DITAT_OBJTYPE_RESOLVER | |
| Short Description | Determines the object type of a file | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLXE_DITAT | DITA Translation |
| Created | 20120905 | SAP |
| Last change | 20130531 | 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_DITAT_OBJTYPE_RESOLVER has no interface implemented.
Friends
Class CL_DITAT_OBJTYPE_RESOLVER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | T_EXT_OBJTYPE | 20120905 | ||||
| 2 | Static Attribute | Private | Type reference (TYPE) | T_ROOT_PUBLICID_OBJTYPE | 20120905 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120905 | |
| 2 | Static method | Private | Method | 20120905 | ||
| 3 | Static method | Private | Method | 20120905 | ||
| 4 | Static method | Private | Method | 20120905 | ||
| 5 | Static method | Private | Method | 20120905 | ||
| 6 | Static method | Private | Method | 20120905 | ||
| 7 | Static method | Private | Method | 20120905 | ||
| 8 | Static method | Public | Method | Determines the object type of a file | 20120905 |
Events
Class CL_DITAT_OBJTYPE_RESOLVER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_EXT_OBJTYPE | Private | See coding | 20120905 | BEGIN OF s_ext_objtype,
fileext TYPE string,
objtype TYPE lxeobjtype,
END OF s_ext_objtype
|
||
| 2 | S_ROOT_PUBLICID | Private | See coding | 20120905 | BEGIN OF s_root_publicid,
root TYPE string,
publicid TYPE string,
END OF s_root_publicid
|
||
| 3 | S_ROOT_PUBLICID_OBJTYPE | Private | See coding | 20120905 | BEGIN OF s_root_publicid_objtype,
root TYPE string,
publicid TYPE string,
objtype TYPE lxeobjtype,
END OF s_root_publicid_objtype
|
||
| 4 | T_EXT_OBJTYPE | Private | See coding | 20120905 | t_ext_objtype TYPE HASHED TABLE OF s_ext_objtype WITH UNIQUE KEY fileext
|
||
| 5 | T_ROOT_PUBLICID_OBJTYPE | Private | See coding | 20120905 | t_root_publicid_objtype TYPE HASHED TABLE OF s_root_publicid_objtype WITH UNIQUE KEY root publicid
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_DITAT_OBJTYPE_RESOLVER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_DITAT_OBJTYPE_RESOLVER has no exception.
Method FILL_DITA_OBJTYPE_TABLE Signature
Method FILL_DITA_OBJTYPE_TABLE on class CL_DITAT_OBJTYPE_RESOLVER has no parameter.
Method FILL_DITA_OBJTYPE_TABLE on class CL_DITAT_OBJTYPE_RESOLVER has no exception.
Method FILL_EXT_OBJTYPE_TABLE Signature
Method FILL_EXT_OBJTYPE_TABLE on class CL_DITAT_OBJTYPE_RESOLVER has no parameter.
Method FILL_EXT_OBJTYPE_TABLE on class CL_DITAT_OBJTYPE_RESOLVER has no exception.
Method GET_BLOB_OBJTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20120905 | ||||
| 2 | FILEEXT | Call by reference | Type reference (TYPE) | STRING | 20120905 | ||||
| 3 | OBJTYPE | Value transfer | Type reference (TYPE) | LXEOBJTYPE | Type of Translation Object | 20120905 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | File extension could not be resolved to object type | 20120905 |
Method GET_DITA_OBJTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20120905 | ||||
| 2 | FILEEXT | Call by reference | Type reference (TYPE) | STRING | 20120905 | ||||
| 3 | OBJTYPE | Value transfer | Type reference (TYPE) | LXEOBJTYPE | Type of Translation Object | 20120905 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DITA file not supported | 20120905 | ||
| 2 | DITA file contains no document type declaration | 20120905 | ||
| 3 | DITA XML is malformed | 20120905 |
Method GET_DITA_ROOT_PUBLIC_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20120905 | ||||
| 2 | ROOT_PID | Value transfer | Type reference (TYPE) | S_ROOT_PUBLICID | 20120905 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DITA file contains no document type declaration | 20120905 | ||
| 2 | DITA XML is malformed | 20120905 |
Method IS_DITA_FILEEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILEEXT | Call by reference | Type reference (TYPE) | STRING | 20120905 | ||||
| 2 | IS_DITA_FILEEXT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120905 |
Method IS_DITA_FILEEXT on class CL_DITAT_OBJTYPE_RESOLVER has no exception.
Method RESOLVE_OBJTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT | Call by reference | Type reference (TYPE) | XSTRING | File content | 20120905 | |||
| 2 | FILEEXT | Call by reference | Type reference (TYPE) | STRING | File extension including the dot | 20120905 | |||
| 3 | OBJTYPE | Value transfer | Type reference (TYPE) | LXEOBJTYPE | Type of Translation Object | 20120905 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DITA file not supported | 20120905 | ||
| 2 | File extension could not be resolved to object type | 20120905 | ||
| 3 | DITA file contains no document type declaration | 20120905 | ||
| 4 | DITA XML is malformed | 20120905 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |