SAP ABAP Class CL_CIM_XMLCREATOR (Basic Functions for Creating Valid XML)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CCM-SLD-ABA (Application Component) System Landscape Directory ABAP Connectivity
⤷
S_WBEM_TRANSFORM (Package) WBEM Client: Data Transformations
⤷
⤷
Properties
| Class | CL_CIM_XMLCREATOR | |
| Short Description | Basic Functions for Creating Valid XML | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_WBEM_TRANSFORM | WBEM Client: Data Transformations |
| Created | 20080625 | 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_CIM_XMLCREATOR has no interface implemented.
Friends
Class CL_CIM_XMLCREATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | STRING | 20080625 | ||||
| 2 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | With indentation? | 20080625 | ||
| 3 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080625 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080625 | |||
| 5 | Instance attribute | Private | See coding | 20120221 | |||||
| 6 | Instance attribute | Public | Type reference (TYPE) | STRING | Created XML string | 20080625 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20080625 | |
| 2 | Instance method | Private | Method | 20120221 | ||
| 3 | Instance method | Public | Method | Restores initial state; deletes XML string | 20080627 | |
| 4 | Instance method | Public | Method | Adds attribute to element | 20080627 | |
| 5 | Instance method | Public | Method | Adds boolean attribute to element | 20080627 | |
| 6 | Instance method | Public | Method | Adds CIM key type attribute to element | 20080627 | |
| 7 | Instance method | Public | Method | Adds CIM data type attribute to element | 20080627 | |
| 8 | Instance method | Public | Method | Adds element name attribute to element | 20080627 | |
| 9 | Instance method | Public | Method | Adds end of open element | 20080625 | |
| 10 | Instance method | Public | Method | Writes XML header | 20080625 | |
| 11 | Instance method | Public | Method | Adds integer attribute to element | 20080627 | |
| 12 | Instance method | Public | Method | Adds parsed character data | 20080627 | |
| 13 | Instance method | Public | Method | Adds start of element | 20080625 |
Events
Class CL_CIM_XMLCREATOR has no event.
Types
Class CL_CIM_XMLCREATOR has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INDENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Mit Einrückung? | 20080625 |
Method CONSTRUCTOR on class CL_CIM_XMLCREATOR has no exception.
Method POP_TAGNAME_FROM_STACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20120221 |
Method POP_TAGNAME_FROM_STACK on class CL_CIM_XMLCREATOR has no exception.
Method RESET Signature
Method RESET on class CL_CIM_XMLCREATOR has no parameter.
Method RESET on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ESCAPE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ersetze Sonderzeichen durch Fluchtsymbole | 20080627 | ||
| 2 | NAME | Call by reference | Type reference (TYPE) | STRING | Attributname | 20080627 | |||
| 3 | VALUE | Call by reference | Type reference (TYPE) | STRING | Attributwert | 20080627 |
Method WRITE_ATTRIBUTE on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_BOOLEAN_ATTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Attributname | 20080627 | |||
| 2 | VALUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Attributwert | 20080627 |
Method WRITE_BOOLEAN_ATTR on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_CIMKEYTYPE_ATTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Attributname | 20080627 | |||
| 2 | VALUE | Call by reference | Object reference (TYPE REF TO) | CL_CIM_KEYTYPE | CIM-Schlüssel-Datentyp (Typesafe Enumeration) | 20080627 |
Method WRITE_CIMKEYTYPE_ATTR on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_CIMTYPE_ATTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Attributname | 20080627 | |||
| 2 | VALUE | Call by reference | Object reference (TYPE REF TO) | CL_CIM_TYPE | CIM-Datentyp (Typesafe Enumeration) | 20080627 |
Method WRITE_CIMTYPE_ATTR on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_ELEMENTNAME_ATTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Attributname | 20080627 | |||
| 2 | VALUE | Call by reference | Object reference (TYPE REF TO) | CL_CIM_ELEMENTNAME | Elementname | 20080627 |
Method WRITE_ELEMENTNAME_ATTR on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_ENDELEMENT Signature
Method WRITE_ENDELEMENT on class CL_CIM_XMLCREATOR has no parameter.
Method WRITE_ENDELEMENT on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENCODING | Call by reference | Type reference (TYPE) | STRING | Encoding | 20080625 |
Method WRITE_HEADER on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_INTEGER_ATTR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | Attributname | 20080627 | |||
| 2 | VALUE | Call by reference | Type reference (TYPE) | I | Ganzzahliger Wert | 20080627 |
Method WRITE_INTEGER_ATTR on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_PCDATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | VALUE | Call by reference | Type reference (TYPE) | STRING | PCDATA als String | 20080627 |
Method WRITE_PCDATA on class CL_CIM_XMLCREATOR has no exception.
Method WRITE_STARTELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TAGNAME | Call by reference | Type reference (TYPE) | STRING | Name des neuen XML-Tags | 20080625 |
Method WRITE_STARTELEMENT on class CL_CIM_XMLCREATOR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 712 |