oracle.toplink.xml
Interface XMLTranslator
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- DefaultXMLTranslator
- 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
Type | Method |
DatabaseRow |
read(java.io.Reader stream)
Build a database row from the XML document contained
in the specified stream. |
void |
write(java.io.Writer stream,
DatabaseRow row)
Write an XML document representing the specified database
row on the specified stream. |
read
public DatabaseRow read(java.io.Reader stream)
- Build a database row from the XML document contained
in the specified stream.
write
public void write(java.io.Writer stream,
DatabaseRow row)
- Write an XML document representing the specified database
row on the specified stream.