API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind. Unmarshaller View Source
Author(s)

Since
JAXB1.0
Version
$Revision: 1.31 $ $Date: 2005/08/15 20:54:42 $
Serial
Hierarchy
 Unmarshaller
Subinterfaces
Description
public interface Unmarshaller
  The Unmarshaller class governs the process of deserializing XML data into newly created Java content trees, optionally validating the XML data as it is unmarshalled.
Methods
Hide/Show inherited methods
public A getAdapter (Class< A> type)
  Gets the adapter associated with the specified type.
public AttachmentUnmarshaller getAttachmentUnmarshaller ()
public ValidationEventHandler getEventHandler () throws JAXBException
  Return the current event handler or the default event handler if one hasn't been set.
public Listener getListener ()
  Return Unmarshaller.Listener registered with this Unmarshaller.
public Object getProperty (String name) throws PropertyException
  Get the particular property in the underlying implementation of Unmarshaller.
public Schema getSchema ()
  Get the JAXP 1.3 Schema object being used to perform unmarshal-time validation.
public UnmarshallerHandler getUnmarshallerHandler ()
  Get an unmarshaller handler object that can be used as a component in an XML pipeline.
public boolean isValidating () throws JAXBException
  Indicates whether or not the Unmarshaller is configured to validate during unmarshal operations.
public void setAdapter (Class< A> type, A adapter)
  Associates a configured instance of XmlAdapter with this unmarshaller.
public void setAdapter (XmlAdapter adapter)
  Associates a configured instance of XmlAdapter with this unmarshaller.
public void setAttachmentUnmarshaller (AttachmentUnmarshaller au)
  Associate a context that resolves cid's, content-id URIs, to binary data passed as attachments.
public void setEventHandler (ValidationEventHandler handler) throws JAXBException
  Allow an application to register a ValidationEventHandler.
public void setListener (Listener listener)
  Register unmarshal event callback Unmarshaller.Listener with this Unmarshaller.
public void setProperty (String name, Object value) throws PropertyException
  Set the particular property in the underlying implementation of Unmarshaller.
public void setSchema (Schema schema)
  Specify the JAXP 1.3 Schema object that should be used to validate subsequent unmarshal operations against.
public void setValidating (boolean validating) throws JAXBException
  Specifies whether or not the default validation mechanism of the Unmarshaller should validate during unmarshal operations.
public Object unmarshal (File f) throws JAXBException
  Unmarshal XML data from the specified file and return the resulting content tree.
public Object unmarshal (InputSource source) throws JAXBException
  Unmarshal XML data from the specified SAX InputSource and return the resulting content tree.
public Object unmarshal (InputStream is) throws JAXBException
  Unmarshal XML data from the specified InputStream and return the resulting content tree.
public Object unmarshal (Node node) throws JAXBException
  Unmarshal global XML data from the specified DOM tree and return the resulting content tree.
public JAXBElement< T> unmarshal (Node node, Class< T> declaredType) throws JAXBException
  Unmarshal XML data by JAXB mapped declaredType and return the resulting content tree.
public Object unmarshal (Reader reader) throws JAXBException
  Unmarshal XML data from the specified Reader and return the resulting content tree.
public Object unmarshal (Source source) throws JAXBException
  Unmarshal XML data from the specified XML Source and return the resulting content tree.
public JAXBElement< T> unmarshal (Source source, Class< T> declaredType) throws JAXBException
  Unmarshal XML data from the specified XML Source by declaredType and return the resulting content tree.
public Object unmarshal (URL url) throws JAXBException
  Unmarshal XML data from the specified URL and return the resulting content tree.
public Object unmarshal (XMLEventReader reader) throws JAXBException
  Unmarshal XML data from the specified pull parser and return the resulting content tree.
public JAXBElement< T> unmarshal (XMLEventReader reader, Class< T> declaredType) throws JAXBException
  Unmarshal root element to JAXB mapped declaredType and return the resulting content tree.
public Object unmarshal (XMLStreamReader reader) throws JAXBException
  Unmarshal XML data from the specified pull parser and return the resulting content tree.
public JAXBElement< T> unmarshal (XMLStreamReader reader, Class< T> declaredType) throws JAXBException
  Unmarshal root element to JAXB mapped declaredType and return the resulting content tree.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar