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

B32476-03

oracle.toplink.ox.mappings.converters
Class XMLConverterAdapter

java.lang.Object
  extended by oracle.toplink.ox.mappings.converters.XMLConverterAdapter
All Implemented Interfaces:
java.io.Serializable, Converter, XMLConverter
Direct Known Subclasses:
XMLJavaTypeConverter

public abstract class XMLConverterAdapter
extends java.lang.Object
implements XMLConverter

Since:
release specific (what release of product did this appear in)
See Also:
Serialized Form

Constructor Summary
XMLConverterAdapter()
           
 
Method Summary
 java.lang.Object convertDataValueToObjectValue(java.lang.Object dataValue, Session session)
          Convert the databases' data representation of the value to the object's representation.
 java.lang.Object convertObjectValueToDataValue(java.lang.Object objectValue, Session session)
          Convert the object's representation of the value to the databases' data representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.toplink.ox.mappings.converters.XMLConverter
convertDataValueToObjectValue, convertObjectValueToDataValue
 
Methods inherited from interface oracle.toplink.mappings.converters.Converter
initialize, isMutable
 

Constructor Detail

XMLConverterAdapter

public XMLConverterAdapter()
Method Detail

convertObjectValueToDataValue

public java.lang.Object convertObjectValueToDataValue(java.lang.Object objectValue,
                                                      Session session)
Description copied from interface: oracle.toplink.mappings.converters.Converter
Convert the object's representation of the value to the databases' data representation. For example this could convert between a Calendar Java type and the sql.Time datatype.

Specified by:
convertObjectValueToDataValue in interface Converter

convertDataValueToObjectValue

public java.lang.Object convertDataValueToObjectValue(java.lang.Object dataValue,
                                                      Session session)
Description copied from interface: oracle.toplink.mappings.converters.Converter
Convert the databases' data representation of the value to the object's representation. For example this could convert between an sql.Time datatype and the Java Calendar type.

Specified by:
convertDataValueToObjectValue in interface Converter

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