javax.xml.bind
Interface Unmarshaller

All Known Implementing Classes:
AbstractUnmarshallerImpl

public interface Unmarshaller


Nested Class Summary
static class Unmarshaller.Listener
           
 
Method Summary
<A extends XmlAdapter>
A
getAdapter(Class<A> type)
           
 AttachmentUnmarshaller getAttachmentUnmarshaller()
           
 ValidationEventHandler getEventHandler()
           
 Unmarshaller.Listener getListener()
           
 Object getProperty(String name)
           
 Schema getSchema()
           
 UnmarshallerHandler getUnmarshallerHandler()
           
 boolean isValidating()
           
<A extends XmlAdapter>
void
setAdapter(Class<A> type, A adapter)
           
 void setAdapter(XmlAdapter adapter)
           
 void setAttachmentUnmarshaller(AttachmentUnmarshaller au)
           
 void setEventHandler(ValidationEventHandler handler)
           
 void setListener(Unmarshaller.Listener listener)
           
 void setProperty(String name, Object value)
           
 void setSchema(Schema schema)
           
 void setValidating(boolean validating)
           
 Object unmarshal(File f)
           
 Object unmarshal(InputSource source)
           
 Object unmarshal(InputStream is)
           
 Object unmarshal(Node node)
           
<T> JAXBElement<T>
unmarshal(Node node, Class<T> declaredType)
           
 Object unmarshal(Reader reader)
           
 Object unmarshal(Source source)
           
<T> JAXBElement<T>
unmarshal(Source source, Class<T> declaredType)
           
 Object unmarshal(URL url)
           
 Object unmarshal(javax.xml.stream.XMLEventReader reader)
           
<T> JAXBElement<T>
unmarshal(javax.xml.stream.XMLEventReader reader, Class<T> declaredType)
           
 Object unmarshal(javax.xml.stream.XMLStreamReader reader)
           
<T> JAXBElement<T>
unmarshal(javax.xml.stream.XMLStreamReader reader, Class<T> declaredType)
           
 

Method Detail

getAdapter

<A extends XmlAdapter> A getAdapter(Class<A> type)

getAttachmentUnmarshaller

AttachmentUnmarshaller getAttachmentUnmarshaller()

getEventHandler

ValidationEventHandler getEventHandler()
                                       throws JAXBException
Throws:
JAXBException

getListener

Unmarshaller.Listener getListener()

getProperty

Object getProperty(String name)
                   throws PropertyException
Throws:
PropertyException

getSchema

Schema getSchema()

getUnmarshallerHandler

UnmarshallerHandler getUnmarshallerHandler()

isValidating

boolean isValidating()
                     throws JAXBException
Throws:
JAXBException

setAdapter

<A extends XmlAdapter> void setAdapter(Class<A> type,
                                       A adapter)

setAdapter

void setAdapter(XmlAdapter adapter)

setAttachmentUnmarshaller

void setAttachmentUnmarshaller(AttachmentUnmarshaller au)

setEventHandler

void setEventHandler(ValidationEventHandler handler)
                     throws JAXBException
Throws:
JAXBException

setListener

void setListener(Unmarshaller.Listener listener)

setProperty

void setProperty(String name,
                 Object value)
                 throws PropertyException
Throws:
PropertyException

setSchema

void setSchema(Schema schema)

setValidating

void setValidating(boolean validating)
                   throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(File f)
                 throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(InputSource source)
                 throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(InputStream is)
                 throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(Node node)
                 throws JAXBException
Throws:
JAXBException

unmarshal

<T> JAXBElement<T> unmarshal(Node node,
                             Class<T> declaredType)
                         throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(Reader reader)
                 throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(Source source)
                 throws JAXBException
Throws:
JAXBException

unmarshal

<T> JAXBElement<T> unmarshal(Source source,
                             Class<T> declaredType)
                         throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(URL url)
                 throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(javax.xml.stream.XMLEventReader reader)
                 throws JAXBException
Throws:
JAXBException

unmarshal

<T> JAXBElement<T> unmarshal(javax.xml.stream.XMLEventReader reader,
                             Class<T> declaredType)
                         throws JAXBException
Throws:
JAXBException

unmarshal

Object unmarshal(javax.xml.stream.XMLStreamReader reader)
                 throws JAXBException
Throws:
JAXBException

unmarshal

<T> JAXBElement<T> unmarshal(javax.xml.stream.XMLStreamReader reader,
                             Class<T> declaredType)
                         throws JAXBException
Throws:
JAXBException


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.