Interface XMLConverter
-
- All Superinterfaces:
Converter
,CoreConverter<DatabaseMapping,Session>
,java.io.Serializable
- All Known Implementing Classes:
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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)
-
-