| Constructor and Description |
|---|
JAXBBinder(XMLContext xmlContext) |
| 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 handler) |
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(XMLContext xmlContext)
public void marshal(Object obj, Object xmlNode) throws MarshalException
marshal in class BinderMarshalExceptionpublic Object unmarshal(Object obj) throws JAXBException
unmarshal in class BinderJAXBExceptionpublic JAXBElement unmarshal(Object obj, Class javaClass) throws JAXBException
unmarshal in class BinderJAXBExceptionpublic Object getXMLNode(Object obj)
getXMLNode in class Binderpublic Object getJAXBNode(Object obj)
getJAXBNode in class Binderpublic Object updateJAXB(Object obj) throws JAXBException
updateJAXB in class BinderJAXBExceptionpublic void setEventHandler(ValidationEventHandler handler)
setEventHandler in class Binderpublic ValidationEventHandler getEventHandler()
getEventHandler in class Binderpublic Object getProperty(String propName) throws PropertyException
getProperty in class BinderPropertyExceptionpublic void setProperty(String propName, Object value) throws PropertyException
setProperty in class BinderPropertyExceptionpublic XMLBinder getXMLBinder()