com.sun.xml.bind.unmarshaller
Class UnmarshallerImpl

java.lang.Object
  extended by javax.xml.bind.helpers.AbstractUnmarshallerImpl
      extended by com.sun.xml.bind.unmarshaller.UnmarshallerImpl
All Implemented Interfaces:
javax.xml.bind.Unmarshaller

Deprecated. in JAXB1.0.1

public class UnmarshallerImpl
extends javax.xml.bind.helpers.AbstractUnmarshallerImpl

Default Unmarshall implementation.

This class can be extended by the generated code to provide type-safe unmarshall methods.

Since:
JAXB1.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.xml.bind.Unmarshaller
javax.xml.bind.Unmarshaller.Listener
 
Field Summary
 
Fields inherited from class javax.xml.bind.helpers.AbstractUnmarshallerImpl
validating
 
Constructor Summary
UnmarshallerImpl(DefaultJAXBContextImpl context, TypeRegistry reg)
          Deprecated.  
 
Method Summary
 SAXUnmarshallerHandler createUnmarshallerHandler(Locator locator)
          Deprecated. Creates and configures a new unmarshalling pipe line.
 javax.xml.bind.UnmarshallerHandler getUnmarshallerHandler()
          Deprecated.  
 java.lang.Object unmarshal(org.w3c.dom.Node node)
          Deprecated.  
protected  java.lang.Object unmarshal(org.xml.sax.XMLReader reader, org.xml.sax.InputSource source)
          Deprecated.  
 
Methods inherited from class javax.xml.bind.helpers.AbstractUnmarshallerImpl
createUnmarshalException, getAdapter, getAttachmentUnmarshaller, getEventHandler, getListener, getProperty, getSchema, getXMLReader, isValidating, setAdapter, setAdapter, setAttachmentUnmarshaller, setEventHandler, setListener, setProperty, setSchema, setValidating, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnmarshallerImpl

public UnmarshallerImpl(DefaultJAXBContextImpl context,
                        TypeRegistry reg)
Deprecated. 
Method Detail

getUnmarshallerHandler

public javax.xml.bind.UnmarshallerHandler getUnmarshallerHandler()
Deprecated. 

createUnmarshallerHandler

public SAXUnmarshallerHandler createUnmarshallerHandler(Locator locator)
Deprecated. 
Creates and configures a new unmarshalling pipe line. Depending on the setting, we put a validator as a filter.

Parameters:
locator - The object that is responsible to obtain the source location information for ValidationEvents.
Returns:
A component that implements both UnmarshallerHandler and ValidationEventHandler. All the parsing errors should be reported to this error handler for the unmarshalling process to work correctly.

unmarshal

protected java.lang.Object unmarshal(org.xml.sax.XMLReader reader,
                                     org.xml.sax.InputSource source)
                              throws javax.xml.bind.JAXBException
Deprecated. 
Specified by:
unmarshal in class javax.xml.bind.helpers.AbstractUnmarshallerImpl
Throws:
javax.xml.bind.JAXBException

unmarshal

public final java.lang.Object unmarshal(org.w3c.dom.Node node)
                                 throws javax.xml.bind.JAXBException
Deprecated. 
Throws:
javax.xml.bind.JAXBException