com.sap.mw.jco

Class JCO.Record.XMLReader

java.lang.Object
  extended bycom.sap.mw.jco.util.XMLReaderBase
      extended bycom.sap.mw.jco.JCO.Record.XMLReader
Enclosing class:
JCO.Record

protected static class JCO.Record.XMLReader
extends com.sap.mw.jco.util.XMLReaderBase

Converts an XML document into a record


Field Summary
 
Fields inherited from class com.sap.mw.jco.util.XMLReaderBase
m_buffer, m_length, m_offset, m_parent, m_record, m_tag_end, m_tag_start, m_tag_typ, NAMESPACE_URN_SAP_RFC, NAMESPACE_URN_SAP_RFC_MODE, NAMESPACE_URN_SOAP_UC, NAMESPACE_URN_SOAP_UC_MODE
 
Constructor Summary
JCO.Record.XMLReader(JCO.Record record)
          Creates a new XMLReader object
 
Method Summary
static void readXMLDocument(JCO.Record record, Reader reader)
          Constructs a record from the passed XML document
static void readXMLDocument(JCO.Record record, String xmldoc)
          Constructs a record from the passed XML document
protected  void store(JCO.Record record, char[] value, int offset, int length, int index)
          Implements store method
 
Methods inherited from class com.sap.mw.jco.util.XMLReaderBase
nextElement, parse, parse, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCO.Record.XMLReader

public JCO.Record.XMLReader(JCO.Record record)
Creates a new XMLReader object

Parameters:
record - the record which data fields will be filled with the values from the XML String
Method Detail

readXMLDocument

public static void readXMLDocument(JCO.Record record,
                                   String xmldoc)
Constructs a record from the passed XML document

Parameters:
record - the record which to fill from the the XML document
xmldoc - the xml document to parse

readXMLDocument

public static void readXMLDocument(JCO.Record record,
                                   Reader reader)
Constructs a record from the passed XML document

Parameters:
record - the record which to fill from the the XML document

store

protected void store(JCO.Record record,
                     char[] value,
                     int offset,
                     int length,
                     int index)
Implements store method



Copyright 2006 SAP AG Complete Copyright Notice