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>
Implementation of
Binder
.
TODO: investigate how much in-place unmarshalling is implemented
- some preliminary work is there. Probably buggy.
TODO: work on the marshaller side.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptiongetJAXBNode
(XmlNode xmlNode) getProperty
(String name) getXMLNode
(Object jaxbObject) void
void
setEventHandler
(ValidationEventHandler handler) void
setProperty
(String name, Object value) void
<T> JAXBElement<T>
updateJAXB
(XmlNode xmlNode)
-
Method Details
-
marshal
- Specified by:
marshal
in classBinder<XmlNode>
- Throws:
JAXBException
-
updateJAXB
- Specified by:
updateJAXB
in classBinder<XmlNode>
- Throws:
JAXBException
-
unmarshal
- Specified by:
unmarshal
in classBinder<XmlNode>
- Throws:
JAXBException
-
unmarshal
- Specified by:
unmarshal
in classBinder<XmlNode>
- Throws:
JAXBException
-
setSchema
-
getSchema
-
getXMLNode
- Specified by:
getXMLNode
in classBinder<XmlNode>
-
getJAXBNode
- Specified by:
getJAXBNode
in classBinder<XmlNode>
-
updateXML
- Specified by:
updateXML
in classBinder<XmlNode>
- Throws:
JAXBException
-
updateXML
- Specified by:
updateXML
in classBinder<XmlNode>
- Throws:
JAXBException
-
setEventHandler
- Specified by:
setEventHandler
in classBinder<XmlNode>
- Throws:
JAXBException
-
getEventHandler
- Specified by:
getEventHandler
in classBinder<XmlNode>
-
getProperty
- Specified by:
getProperty
in classBinder<XmlNode>
- Throws:
PropertyException
-
setProperty
- Specified by:
setProperty
in classBinder<XmlNode>
- Throws:
PropertyException
-