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

B32476-03

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
 Record 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, Record row)
          Deprecated. Write an XML document representing the specified database row on the specified stream.
 

Method Detail

read

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


write

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


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