Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

B32476-03

oracle.toplink.xml.xerces
Class DatabaseRowToXMLTranslator

java.lang.Object
  extended by oracle.toplink.xml.DatabaseRowToXMLTranslator
      extended by oracle.toplink.xml.xerces.DatabaseRowToXMLTranslator

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by oracle.toplink.ox

public class DatabaseRowToXMLTranslator
extends DatabaseRowToXMLTranslator

This class has a singular purpose: convert a Record to an XML document. Given a Record, this class will write a corresponding XML document on a Writer. This is old obsoletish code that use to be hardcoded to xerces, but is now hard coded to oracle. The generic convert is in the xml package and parser independent.

Since:
TOPLink/Java 3.0
See Also:
Record, SDKFieldValue

Constructor Summary
DatabaseRowToXMLTranslator()
          Deprecated. Default constructor.
 
Method Summary
 void write(java.io.Writer outputStream, oracle.toplink.internal.sessions.AbstractRecord row)
          Deprecated. Convert the specified database row to an XML document and write it to the specified stream.
 
Methods inherited from class oracle.toplink.xml.DatabaseRowToXMLTranslator
createDOM, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatabaseRowToXMLTranslator

public DatabaseRowToXMLTranslator()
Deprecated. 
Default constructor.

Method Detail

write

public void write(java.io.Writer outputStream,
                  oracle.toplink.internal.sessions.AbstractRecord row)
           throws XMLDataStoreException
Deprecated. 
Convert the specified database row to an XML document and write it to the specified stream.

Throws:
XMLDataStoreException

Copyright © 1998, 2010, Oracle. All Rights Reserved.