Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.xml
Interface XMLTranslator

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultXMLTranslator

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

public interface XMLTranslator
extends java.io.Serializable

This interface defines the protocol from translating an XML document to a database row and vice versa.

Since:
TOPLink/Java 3.0

Method Summary
 DatabaseRow read(java.io.Reader stream)
          Deprecated. Build a database row from the XML document contained in the specified stream.
 void write(java.io.Writer stream, DatabaseRow row)
          Deprecated. Write an XML document representing the specified database row on the specified stream.

 

Method Detail

read

public DatabaseRow read(java.io.Reader stream)
Deprecated. 
Build a database row from the XML document contained in the specified stream.

write

public void write(java.io.Writer stream,
                  DatabaseRow row)
Deprecated. 
Write an XML document representing the specified database row on the specified stream.

Skip navigation links

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