SAP ABAP Class CL_SXML_NESTED_XML_WRITER (Create Nested XML Document)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
S_XML_EXAMPLES (Package) XML example programs
⤷
⤷
Properties
| Class | CL_SXML_NESTED_XML_WRITER | |
| Short Description | Create Nested XML Document | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_XML_EXAMPLES | XML example programs |
| Created | 20080711 | SAP |
| Last change | 20090618 | 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_SXML_NESTED_XML_WRITER has no interface implemented.
Friends
Class CL_SXML_NESTED_XML_WRITER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SXML_CLOSE_ELEMENT | SXML Element End | 20080714 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SXML_CLOSE_ELEMENT | SXML Element End | 20080714 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SXML_OPEN_ELEMENT | SXML Element Start | 20080711 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SXML_OPEN_ELEMENT | SXML Element Start | 20080714 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_SXML_WRITER | SXML Writer Interface | 20080711 | |||
| 6 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | abap_false | Flag will be set at FINISH method | 20080716 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'http://www.sap.com/abapxml/SXML/Container' | Namespace Used | 20080714 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'Container' | Node Name Used | 20080714 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'SXMLC' | Node Name Used | 20080715 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'Root' | Node Name Used | 20080715 | ||
| 11 | Instance attribute | Private | See coding | 20080715 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Close All Open Containers | 20080715 | |
| 2 | Instance method | Public | Method | Close Container | 20080711 | |
| 3 | Instance method | Public | Constructor | Construktor: Open Root Node | 20080711 | |
| 4 | Instance method | Public | Method | Close Root Node | 20080715 | |
| 5 | Instance method | Private | Method | Check whether document is closed | 20080716 | |
| 6 | Instance method | Public | Method | Create New Container | 20080715 |
Events
Class CL_SXML_NESTED_XML_WRITER has no event.
Types
Class CL_SXML_NESTED_XML_WRITER has no local type.
Method Signatures
Method CLOSE_ALL_CONTAINER Signature
Method CLOSE_ALL_CONTAINER on class CL_SXML_NESTED_XML_WRITER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SXML State error | 20080716 |
Method CLOSE_CONTAINER Signature
Method CLOSE_CONTAINER on class CL_SXML_NESTED_XML_WRITER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SXML State error | 20080716 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | WRITER | Call by reference | Object reference (TYPE REF TO) | IF_SXML_WRITER | SXML Writer Interface | 20080711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SXML Illegal Argument Error | 20080711 | ||
| 2 | SXML Name Error | 20080714 |
Method FINISH Signature
Method FINISH on class CL_SXML_NESTED_XML_WRITER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SXML State error | 20080716 |
Method IS_FINISHED Signature
Method IS_FINISHED on class CL_SXML_NESTED_XML_WRITER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SXML State error | 20080716 |
Method OPEN_CONTAINER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 20080715 | ||||
| 2 | TYPE | Call by reference | Type reference (TYPE) | STRING | 20080715 | ||||
| 3 | VERSION | Call by reference | Type reference (TYPE) | STRING | 20080715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SXML State error | 20080716 |
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 712 |