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 ABAP 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 C_CLOSE_CONTAINER Instance attribute Private Object reference (TYPE REF TO) IF_SXML_CLOSE_ELEMENT SXML Element End 20080714
2 C_C_ROOT Instance attribute Private Object reference (TYPE REF TO) IF_SXML_CLOSE_ELEMENT SXML Element End 20080714
3 C_OPEN_CONTAINER Instance attribute Private Object reference (TYPE REF TO) IF_SXML_OPEN_ELEMENT SXML Element Start 20080711
4 C_O_ROOT Instance attribute Private Object reference (TYPE REF TO) IF_SXML_OPEN_ELEMENT SXML Element Start 20080714
5 C_WRITER Instance attribute Protected Object reference (TYPE REF TO) IF_SXML_WRITER SXML Writer Interface 20080711
6 FINISHED Instance attribute Public Type reference (TYPE) ABAP_BOOL abap_false Flag will be set at FINISH method 20080716
7 NAMESPACE Constant Public Type reference (TYPE) STRING 'http://www.sap.com/abapxml/SXML/Container' Namespace Used 20080714
8 NODE_NAME Constant Public Type reference (TYPE) STRING 'Container' Node Name Used 20080714
9 PREFIX Constant Public Type reference (TYPE) STRING 'SXMLC' Node Name Used 20080715
10 ROOT_NAME Constant Public Type reference (TYPE) STRING 'Root' Node Name Used 20080715
11 T_CONTAINER_STACK Instance attribute Private See coding 20080715
Methods
# Method Level Visibility Method type Description Created on
1 CLOSE_ALL_CONTAINER Instance method Public Method Close All Open Containers 20080715
2 CLOSE_CONTAINER Instance method Public Method Close Container 20080711
3 CONSTRUCTOR Instance method Public Constructor Construktor: Open Root Node 20080711
4 FINISH Instance method Public Method Close Root Node 20080715
5 IS_FINISHED Instance method Private Method Check whether document is closed 20080716
6 OPEN_CONTAINER 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 CX_SXML_STATE_ERROR 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 CX_SXML_STATE_ERROR SXML State error 20080716

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing WRITER Call by reference Object reference (TYPE REF TO) IF_SXML_WRITER SXML Writer Interface 20080711
# Exception Resumable Description Created on
1 CX_SXML_ILLEGAL_ARGUMENT SXML Illegal Argument Error 20080711
2 CX_SXML_NAME_ERROR 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 CX_SXML_STATE_ERROR 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 CX_SXML_STATE_ERROR SXML State error 20080716

Method OPEN_CONTAINER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NAME Call by reference Type reference (TYPE) STRING 20080715
2 Importing TYPE Call by reference Type reference (TYPE) STRING 20080715
3 Importing VERSION Call by reference Type reference (TYPE) STRING 20080715
# Exception Resumable Description Created on
1 CX_SXML_STATE_ERROR SXML State error 20080716
History
Last changed by/on SAP  20090618 
SAP Release Created in 712