org.eclipse.persistence.jaxb
Class JAXBBinder
java.lang.Object
javax.xml.bind.Binder
org.eclipse.persistence.jaxb.JAXBBinder
public class JAXBBinder
- extends javax.xml.bind.Binder
INTERNAL
Purpose:Provide a TopLink implementation of the javax.xml.bind.Binder interface
Responsibilities:
- Provide an implementation of Binder
- Provide a means to preserve unmapped XML Data
- See Also:
Binder
- Author:
- mmacivor
- Since:
- Oracle TopLink 11.1.1.0.0
Method Summary |
javax.xml.bind.ValidationEventHandler |
getEventHandler()
|
javax.xml.bind.JAXBElement |
getJAXBNode(java.lang.Object obj)
|
java.lang.Object |
getProperty(java.lang.String propName)
|
javax.xml.validation.Schema |
getSchema()
|
java.lang.Object |
getXMLNode(java.lang.Object obj)
|
void |
marshal(java.lang.Object obj,
java.lang.Object xmlNode)
|
void |
setEventHandler(javax.xml.bind.ValidationEventHandler handler)
|
void |
setProperty(java.lang.String propName,
java.lang.Object value)
|
void |
setSchema(javax.xml.validation.Schema schema)
|
java.lang.Object |
unmarshal(java.lang.Object obj)
|
javax.xml.bind.JAXBElement |
unmarshal(java.lang.Object obj,
java.lang.Class javaClass)
|
java.lang.Object |
updateJAXB(java.lang.Object obj)
|
java.lang.Object |
updateXML(java.lang.Object obj)
|
java.lang.Object |
updateXML(java.lang.Object obj,
java.lang.Object xmlNode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBBinder
public JAXBBinder(XMLContext xmlContext)
marshal
public void marshal(java.lang.Object obj,
java.lang.Object xmlNode)
- Specified by:
marshal
in class javax.xml.bind.Binder
updateXML
public java.lang.Object updateXML(java.lang.Object obj)
- Specified by:
updateXML
in class javax.xml.bind.Binder
updateXML
public java.lang.Object updateXML(java.lang.Object obj,
java.lang.Object xmlNode)
- Specified by:
updateXML
in class javax.xml.bind.Binder
setSchema
public void setSchema(javax.xml.validation.Schema schema)
- Specified by:
setSchema
in class javax.xml.bind.Binder
getSchema
public javax.xml.validation.Schema getSchema()
- Specified by:
getSchema
in class javax.xml.bind.Binder
getJAXBNode
public javax.xml.bind.JAXBElement getJAXBNode(java.lang.Object obj)
- Specified by:
getJAXBNode
in class javax.xml.bind.Binder
setEventHandler
public void setEventHandler(javax.xml.bind.ValidationEventHandler handler)
- Specified by:
setEventHandler
in class javax.xml.bind.Binder
getEventHandler
public javax.xml.bind.ValidationEventHandler getEventHandler()
- Specified by:
getEventHandler
in class javax.xml.bind.Binder
updateJAXB
public java.lang.Object updateJAXB(java.lang.Object obj)
- Specified by:
updateJAXB
in class javax.xml.bind.Binder
getProperty
public java.lang.Object getProperty(java.lang.String propName)
- Specified by:
getProperty
in class javax.xml.bind.Binder
setProperty
public void setProperty(java.lang.String propName,
java.lang.Object value)
- Specified by:
setProperty
in class javax.xml.bind.Binder
getXMLNode
public java.lang.Object getXMLNode(java.lang.Object obj)
- Specified by:
getXMLNode
in class javax.xml.bind.Binder
unmarshal
public java.lang.Object unmarshal(java.lang.Object obj)
- Specified by:
unmarshal
in class javax.xml.bind.Binder
unmarshal
public javax.xml.bind.JAXBElement unmarshal(java.lang.Object obj,
java.lang.Class javaClass)
- Specified by:
unmarshal
in class javax.xml.bind.Binder