EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.oxm.mappings.converters
Interface XMLConverter

All Superinterfaces:
Converter, java.io.Serializable
All Known Implementing Classes:
TypeStringConverter, XMLConverterAdapter, XMLRootConverter

public interface XMLConverter
extends Converter

Purpose: Conversion interface to allow conversion between object and data types. This can be used in any mapping to convert between the object and data types without requiring code placed in the object model. This extension of the Converter interface allows for the XMLMarshaller and XMLUnmarshaller to be passed into the conversion methods.

See Also:
Converter, XMLDirectMapping, XMLCompositeDirectCollectionMapping, XMLCompositeObjectMapping, XMLCompositeCollectionMapping

Method Summary
 java.lang.Object convertDataValueToObjectValue(java.lang.Object dataValue, Session session, XMLUnmarshaller unmarshaller)
           
 java.lang.Object convertObjectValueToDataValue(java.lang.Object objectValue, Session session, XMLMarshaller marshaller)
           
 
Methods inherited from interface org.eclipse.persistence.mappings.converters.Converter
convertDataValueToObjectValue, convertObjectValueToDataValue, initialize, isMutable
 

Method Detail

convertObjectValueToDataValue

java.lang.Object convertObjectValueToDataValue(java.lang.Object objectValue,
                                               Session session,
                                               XMLMarshaller marshaller)

convertDataValueToObjectValue

java.lang.Object convertDataValueToObjectValue(java.lang.Object dataValue,
                                               Session session,
                                               XMLUnmarshaller unmarshaller)

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference