org.eclipse.persistence.jaxb
Class JAXBUnmarshaller
java.lang.Object
org.eclipse.persistence.jaxb.JAXBUnmarshaller
public class JAXBUnmarshaller
- extends java.lang.Object
INTERNAL:
Purpose:To Provide an implementation of the JAXB 2.0 Unmarshaller Interface
Responsibilities:
- Provide a JAXB wrapper on the XMLUnmarshaller API
- Perform XML to Object Conversions
This implementation of the JAXB 2.0 Unmarshaller interface provides the required functionality
by acting as a thin wrapper on the existing XMLMarshaller API.
- See Also:
javax.xml.bind.Unmarshaller
,
XMLUnmarshaller
- Author:
- mmacivor
- Since:
- Oracle TopLink 11.1.1.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XML_JAVATYPE_ADAPTERS
public static final java.lang.String XML_JAVATYPE_ADAPTERS
- See Also:
- Constant Field Values
JAXBUnmarshaller
public JAXBUnmarshaller(XMLUnmarshaller newXMLUnmarshaller)
unmarshal
public java.lang.Object unmarshal(java.io.File file)
throws JAXBException
- Throws:
JAXBException
unmarshal
public java.lang.Object unmarshal(java.io.InputStream inputStream)
throws JAXBException
- Throws:
JAXBException
unmarshal
public java.lang.Object unmarshal(java.net.URL url)
throws JAXBException
- Throws:
JAXBException
unmarshal
public java.lang.Object unmarshal(org.xml.sax.InputSource inputSource)
throws JAXBException
- Throws:
JAXBException
unmarshal
public java.lang.Object unmarshal(java.io.Reader reader)
throws JAXBException
- Throws:
JAXBException
unmarshal
public java.lang.Object unmarshal(org.w3c.dom.Node node)
throws JAXBException
- Throws:
JAXBException
unmarshal
public JAXBElement unmarshal(org.w3c.dom.Node node,
java.lang.Class javaClass)
throws JAXBException
- Throws:
JAXBException
unmarshal
public java.lang.Object unmarshal(javax.xml.transform.Source source)
throws JAXBException
- Throws:
JAXBException
unmarshal
public JAXBElement unmarshal(javax.xml.transform.Source source,
java.lang.Class javaClass)
throws JAXBException
- Throws:
JAXBException
getUnmarshallerHandler
public UnmarshallerHandler getUnmarshallerHandler()
setValidating
public void setValidating(boolean validate)
throws JAXBException
- Throws:
JAXBException
isValidating
public boolean isValidating()
throws JAXBException
- Throws:
JAXBException
setEventHandler
public void setEventHandler(ValidationEventHandler newValidationEventHandler)
throws JAXBException
- Throws:
JAXBException
getEventHandler
public ValidationEventHandler getEventHandler()
throws JAXBException
- Throws:
JAXBException
setProperty
public void setProperty(java.lang.String key,
java.lang.Object value)
throws PropertyException
- Throws:
PropertyException
getProperty
public java.lang.Object getProperty(java.lang.String key)
throws PropertyException
- Throws:
PropertyException
getListener
public Unmarshaller.Listener getListener()
setListener
public void setListener(Unmarshaller.Listener listener)
getAdapter
public XmlAdapter getAdapter(java.lang.Class javaClass)
setAdapter
public void setAdapter(java.lang.Class javaClass,
XmlAdapter adapter)
setAdapter
public void setAdapter(XmlAdapter adapter)
getSchema
public javax.xml.validation.Schema getSchema()
setSchema
public void setSchema(javax.xml.validation.Schema schema)
getAttachmentUnmarshaller
public AttachmentUnmarshaller getAttachmentUnmarshaller()
setAttachmentUnmarshaller
public void setAttachmentUnmarshaller(AttachmentUnmarshaller unmarshaller)
setUnmarshalCallbacks
public void setUnmarshalCallbacks(java.util.HashMap callbacks)