oracle.toplink.xml.xerces
Class XMLToDatabaseRowTranslator

java.lang.Object
  |
  +--oracle.toplink.xml.xerces.XMLToDatabaseRowTranslator

public class XMLToDatabaseRowTranslator
extends java.lang.Object

This class has a singular purpose: convert an XML document to a DatabaseRow. Given Reader on an XML document, build and return the corresponding DatabaseRow.

Since:
TOPLink/Java 3.0
See Also:
DatabaseRow, SDKFieldValue, DatabaseField, XMLDocument

Constructor Summary
XMLToDatabaseRowTranslator()
          Default constructor.
 
Method Summary
TypeMethod
 DatabaseRow read(java.io.Reader inputStream)
          Read an XML document from the specified input stream and convert it to a TopLink database row.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLToDatabaseRowTranslator

public XMLToDatabaseRowTranslator()
Default constructor.
Method Detail

read

public DatabaseRow read(java.io.Reader inputStream)
                 throws XMLDataStoreException
Read an XML document from the specified input stream and convert it to a TopLink database row. Close the stream and return the row.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object