Package com.sun.xml.bind.v2.runtime
Class BinderImpl<XmlNode>
- java.lang.Object
-
- javax.xml.bind.Binder<XmlNode>
-
- com.sun.xml.bind.v2.runtime.BinderImpl<XmlNode>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationEventHandler
getEventHandler()
Object
getJAXBNode(XmlNode xmlNode)
Object
getProperty(String name)
Schema
getSchema()
XmlNode
getXMLNode(Object jaxbObject)
void
marshal(Object jaxbObject, XmlNode xmlNode)
void
setEventHandler(ValidationEventHandler handler)
void
setProperty(String name, Object value)
void
setSchema(Schema schema)
Object
unmarshal(XmlNode xmlNode)
<T> JAXBElement<T>
unmarshal(XmlNode xmlNode, Class<T> expectedType)
Object
updateJAXB(XmlNode xmlNode)
XmlNode
updateXML(Object jaxbObject)
XmlNode
updateXML(Object jaxbObject, XmlNode xmlNode)
-
-
-
Method Detail
-
marshal
public void marshal(Object jaxbObject, XmlNode xmlNode) throws JAXBException
- Specified by:
marshal
in classBinder<XmlNode>
- Throws:
JAXBException
-
updateJAXB
public Object updateJAXB(XmlNode xmlNode) throws JAXBException
- Specified by:
updateJAXB
in classBinder<XmlNode>
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(XmlNode xmlNode) throws JAXBException
- Specified by:
unmarshal
in classBinder<XmlNode>
- Throws:
JAXBException
-
unmarshal
public <T> JAXBElement<T> unmarshal(XmlNode xmlNode, Class<T> expectedType) throws JAXBException
- Specified by:
unmarshal
in classBinder<XmlNode>
- Throws:
JAXBException
-
getXMLNode
public XmlNode getXMLNode(Object jaxbObject)
- Specified by:
getXMLNode
in classBinder<XmlNode>
-
getJAXBNode
public Object getJAXBNode(XmlNode xmlNode)
- Specified by:
getJAXBNode
in classBinder<XmlNode>
-
updateXML
public XmlNode updateXML(Object jaxbObject) throws JAXBException
- Specified by:
updateXML
in classBinder<XmlNode>
- Throws:
JAXBException
-
updateXML
public XmlNode updateXML(Object jaxbObject, XmlNode xmlNode) throws JAXBException
- Specified by:
updateXML
in classBinder<XmlNode>
- Throws:
JAXBException
-
setEventHandler
public void setEventHandler(ValidationEventHandler handler) throws JAXBException
- Specified by:
setEventHandler
in classBinder<XmlNode>
- Throws:
JAXBException
-
getEventHandler
public ValidationEventHandler getEventHandler()
- Specified by:
getEventHandler
in classBinder<XmlNode>
-
getProperty
public Object getProperty(String name) throws PropertyException
- Specified by:
getProperty
in classBinder<XmlNode>
- Throws:
PropertyException
-
setProperty
public void setProperty(String name, Object value) throws PropertyException
- Specified by:
setProperty
in classBinder<XmlNode>
- Throws:
PropertyException
-
-