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
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)