Constructor and Description |
---|
JAXBBinder(JAXBContext xmlContext,
XMLMarshaller marshaller,
XMLUnmarshaller unmarshaller) |
Modifier and Type | Method and Description |
---|---|
ValidationEventHandler |
getEventHandler() |
Object |
getJAXBNode(Object obj) |
Object |
getProperty(String propName) |
Schema |
getSchema() |
XMLBinder |
getXMLBinder() |
Object |
getXMLNode(Object obj) |
void |
marshal(Object obj,
Object xmlNode) |
void |
setEventHandler(ValidationEventHandler newValidationEventHandler) |
void |
setProperty(String propName,
Object value) |
void |
setSchema(Schema schema) |
Object |
unmarshal(Object obj) |
JAXBElement |
unmarshal(Object obj,
Class javaClass) |
Object |
updateJAXB(Object obj) |
Object |
updateXML(Object obj) |
Object |
updateXML(Object obj,
Object xmlNode) |
public JAXBBinder(JAXBContext xmlContext, XMLMarshaller marshaller, XMLUnmarshaller unmarshaller)
public void marshal(Object obj, Object xmlNode) throws MarshalException
marshal
in class Binder
MarshalException
public Object unmarshal(Object obj) throws JAXBException
unmarshal
in class Binder
JAXBException
public JAXBElement unmarshal(Object obj, Class javaClass) throws JAXBException
unmarshal
in class Binder
JAXBException
public Object getXMLNode(Object obj)
getXMLNode
in class Binder
public Object getJAXBNode(Object obj)
getJAXBNode
in class Binder
public Object updateJAXB(Object obj) throws JAXBException
updateJAXB
in class Binder
JAXBException
public void setEventHandler(ValidationEventHandler newValidationEventHandler) throws JAXBException
setEventHandler
in class Binder
JAXBException
public ValidationEventHandler getEventHandler()
getEventHandler
in class Binder
public Object getProperty(String propName) throws PropertyException
getProperty
in class Binder
PropertyException
public void setProperty(String propName, Object value) throws PropertyException
setProperty
in class Binder
PropertyException
public XMLBinder getXMLBinder()
EclipseLink 2.5.2, "build v20140319-9ad6abd" API Reference