Class DomHandlerConverter
- java.lang.Object
-
- org.eclipse.persistence.internal.jaxb.DomHandlerConverter
-
- All Implemented Interfaces:
Serializable,CoreConverter<DatabaseMapping,Session>,Converter,XMLConverter
public class DomHandlerConverter extends Object implements XMLConverter
INTERNAL:Purpose:Provide support for the JAXB DomHandler API through the use of an EclipseLink Converter.
Responsibilities:
- Wrap a provided instance of a DomHandler implementation.
- Invoke the createUnmarshaller method on DomHandler and to a transform on unmarshal
- Invoke the marshal method on the DomHandler on a marshal
- Author:
- mmacivor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DomHandlerConverter(String domHandlerClassName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectconvertDataValueToObjectValue(Object dataValue, Session session)ObjectconvertDataValueToObjectValue(Object dataValue, Session session, XMLUnmarshaller unmarshaller)ObjectconvertObjectValueToDataValue(Object objectValue, Session session)ObjectconvertObjectValueToDataValue(Object objectValue, Session session, XMLMarshaller marshaller)voidinitialize(DatabaseMapping mapping, Session session)booleanisMutable()
-
-
-
Constructor Detail
-
DomHandlerConverter
public DomHandlerConverter(String domHandlerClassName)
-
-
Method Detail
-
initialize
public void initialize(DatabaseMapping mapping, Session session)
- Specified by:
initializein interfaceConverter- Specified by:
initializein interfaceCoreConverter<DatabaseMapping,Session>
-
convertDataValueToObjectValue
public Object convertDataValueToObjectValue(Object dataValue, Session session, XMLUnmarshaller unmarshaller)
- Specified by:
convertDataValueToObjectValuein interfaceXMLConverter
-
convertObjectValueToDataValue
public Object convertObjectValueToDataValue(Object objectValue, Session session, XMLMarshaller marshaller)
- Specified by:
convertObjectValueToDataValuein interfaceXMLConverter
-
convertDataValueToObjectValue
public Object convertDataValueToObjectValue(Object dataValue, Session session)
- Specified by:
convertDataValueToObjectValuein interfaceConverter- Specified by:
convertDataValueToObjectValuein interfaceCoreConverter<DatabaseMapping,Session>
-
convertObjectValueToDataValue
public Object convertObjectValueToDataValue(Object objectValue, Session session)
- Specified by:
convertObjectValueToDataValuein interfaceConverter- Specified by:
convertObjectValueToDataValuein interfaceCoreConverter<DatabaseMapping,Session>
-
-