Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Data Interfaces and Communication Interfaces →  ABAP and XML →  Class Libraries for XML →  sXML Library →  sXML Library - Classes and Interfaces →  sXML Library - XML Reader and XML Writer 

sXML Library - XML Reader

The interfaces and classes of sXML library for the XML reader are:


IF_SXML   IF_SXML_NSURI_HELPER
  |         |
  |---------|
  |
  |--IF_SXML_READER
       |
       |--CL_SXML_READER
            |
            |--CL_SXML_STRING_READER
            |
            |--CL_SXML_TABLE_READER
            |
            |--CL_SXML_DATASET_READER
            |
            |--CL_SXML_HTTP_READER
            |
            |--CL_SXML_XOP_READER

The interface IF_SXML_READER contains the components that are required for every XML reader. The abstract class CL_SXML_READER implements all the general methods of an XML reader. The subclasses of these classes are specializations for different sources of XML data and provide a factory method for creating the associated XML reader.

The higher-level interfaces contain components for XML reader and XML writer:

  • IF_SXML contains constants for the supported XML format.
  • IF_SXML_NSURI_HELPER contains methods for namespaces.

Other versions: 7.31 | 7.40 | 7.54