javax.xml.bind
Interface Unmarshaller
- All Known Implementing Classes:
- AbstractUnmarshallerImpl
public interface Unmarshaller
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.