Oracle Application Server TopLink API Reference
10g Release 2 (10.1.2)

B15903-01


oracle.toplink.xml.xerces
Class XMLToDatabaseRowTranslator

java.lang.Object
  extended byoracle.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
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.
Throws:
XMLDataStoreException

toString

public java.lang.String toString()

Copyright © 1998, 2005 Oracle Corporation. All Rights Reserved.