Top Description Methods
org.eclipse.persistence.oxm.mappings.converters

public Interface XMLConverter

extends Converter
Known Direct Implementers
org.eclipse.persistence.oxm.mappings.converters.XMLConverterAdapter, org.eclipse.persistence.oxm.mappings.converters.XMLRootConverter
Imports
org.eclipse.persistence.mappings.converters.Converter, org.eclipse.persistence.oxm.XMLMarshaller, .XMLUnmarshaller, org.eclipse.persistence.sessions.Session

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

Modifier and TypeMethod and Description
public Object
convertDataValueToObjectValue(Object dataValue, Session session, XMLUnmarshaller unmarshaller)

public Object
convertObjectValueToDataValue(Object objectValue, Session session, XMLMarshaller marshaller)

Inherited from org.eclipse.persistence.mappings.converters.Converter:
convertDataValueToObjectValueconvertObjectValueToDataValueinitializeisMutable

Method Detail

convertDataValueToObjectValueback to summary
public Object convertDataValueToObjectValue(Object dataValue, Session session, XMLUnmarshaller unmarshaller)
convertObjectValueToDataValueback to summary
public Object convertObjectValueToDataValue(Object objectValue, Session session, XMLMarshaller marshaller)