EclipseLink 1.0_1.0M2 API Reference - Incubation

org.eclipse.persistence.jaxb
Class JAXBUnmarshaller

java.lang.Object
  extended by 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:

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

Field Summary
static java.lang.String XML_JAVATYPE_ADAPTERS
           
 
Constructor Summary
JAXBUnmarshaller(XMLUnmarshaller newXMLUnmarshaller)
           
 
Method Summary
 XmlAdapter getAdapter(java.lang.Class javaClass)
           
 AttachmentUnmarshaller getAttachmentUnmarshaller()
           
 ValidationEventHandler getEventHandler()
           
 Unmarshaller.Listener getListener()
           
 java.lang.Object getProperty(java.lang.String key)
           
 javax.xml.validation.Schema getSchema()
           
 UnmarshallerHandler getUnmarshallerHandler()
           
 boolean isValidating()
           
 void setAdapter(java.lang.Class javaClass, XmlAdapter adapter)
           
 void setAdapter(XmlAdapter adapter)
           
 void setAttachmentUnmarshaller(AttachmentUnmarshaller unmarshaller)
           
 void setEventHandler(ValidationEventHandler newValidationEventHandler)
           
 void setListener(Unmarshaller.Listener listener)
           
 void setProperty(java.lang.String key, java.lang.Object value)
           
 void setSchema(javax.xml.validation.Schema schema)
           
 void setUnmarshalCallbacks(java.util.HashMap callbacks)
           
 void setValidating(boolean validate)
           
 java.lang.Object unmarshal(java.io.File file)
           
 java.lang.Object unmarshal(org.xml.sax.InputSource inputSource)
           
 java.lang.Object unmarshal(java.io.InputStream inputStream)
           
 java.lang.Object unmarshal(org.w3c.dom.Node node)
           
 JAXBElement unmarshal(org.w3c.dom.Node node, java.lang.Class javaClass)
           
 java.lang.Object unmarshal(java.io.Reader reader)
           
 java.lang.Object unmarshal(javax.xml.transform.Source source)
           
 JAXBElement unmarshal(javax.xml.transform.Source source, java.lang.Class javaClass)
           
 java.lang.Object unmarshal(java.net.URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XML_JAVATYPE_ADAPTERS

public static final java.lang.String XML_JAVATYPE_ADAPTERS
See Also:
Constant Field Values
Constructor Detail

JAXBUnmarshaller

public JAXBUnmarshaller(XMLUnmarshaller newXMLUnmarshaller)
Method Detail

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)

EclipseLink 1.0_1.0M2 API Reference - Incubation