org.eclipse.persistence.oxm.mappings.converters
Class XMLConverterAdapter
java.lang.Object
org.eclipse.persistence.oxm.mappings.converters.XMLConverterAdapter
- All Implemented Interfaces:
- Serializable, Converter, XMLConverter
public abstract class XMLConverterAdapter
- extends Object
- implements XMLConverter
- Since:
- release specific (what release of product did this appear in)
- Version:
- $Header: XMLConverterAdapter.java 09-aug-2007.15:24:27 dmccann Exp $
- Author:
- mmacivor
- See Also:
- Serialized Form
XMLConverterAdapter
public XMLConverterAdapter()
convertObjectValueToDataValue
public Object convertObjectValueToDataValue(Object objectValue,
Session session)
- Description copied from interface:
Converter
- PUBLIC:
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 Object convertDataValueToObjectValue(Object dataValue,
Session session)
- Description copied from interface:
Converter
- PUBLIC:
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