public abstract class AbstractUnmarshallerImpl extends Object implements Unmarshaller
Unmarshaller.Listener| Modifier and Type | Field and Description |
|---|---|
protected boolean |
validating |
| Constructor and Description |
|---|
AbstractUnmarshallerImpl() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetUnmarshallerHandler, unmarshalprotected UnmarshalException createUnmarshalException(SAXException e)
protected XMLReader getXMLReader() throws JAXBException
JAXBExceptionpublic <A extends XmlAdapter> A getAdapter(Class<A> type)
getAdapter in interface Unmarshallerpublic AttachmentUnmarshaller getAttachmentUnmarshaller()
getAttachmentUnmarshaller in interface Unmarshallerpublic ValidationEventHandler getEventHandler() throws JAXBException
getEventHandler in interface UnmarshallerJAXBExceptionpublic Unmarshaller.Listener getListener()
getListener in interface Unmarshallerpublic Object getProperty(String name) throws PropertyException
getProperty in interface UnmarshallerPropertyExceptionpublic Schema getSchema()
getSchema in interface Unmarshallerpublic boolean isValidating()
throws JAXBException
isValidating in interface UnmarshallerJAXBExceptionpublic <A extends XmlAdapter> void setAdapter(Class<A> type, A adapter)
setAdapter in interface Unmarshallerpublic void setAdapter(XmlAdapter adapter)
setAdapter in interface Unmarshallerpublic void setAttachmentUnmarshaller(AttachmentUnmarshaller au)
setAttachmentUnmarshaller in interface Unmarshallerpublic void setEventHandler(ValidationEventHandler handler) throws JAXBException
setEventHandler in interface UnmarshallerJAXBExceptionpublic void setListener(Unmarshaller.Listener listener)
setListener in interface Unmarshallerpublic void setProperty(String name, Object value) throws PropertyException
setProperty in interface UnmarshallerPropertyExceptionpublic void setSchema(Schema schema)
setSchema in interface Unmarshallerpublic void setValidating(boolean validating)
throws JAXBException
setValidating in interface UnmarshallerJAXBExceptionpublic final Object unmarshal(File file) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic final Object unmarshal(InputSource source) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic final Object unmarshal(InputStream is) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic <T> JAXBElement<T> unmarshal(Node node, Class<T> declaredType) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic final Object unmarshal(Reader reader) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(Source source) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionprotected abstract Object unmarshal(XMLReader xmlreader, InputSource inputsource) throws JAXBException
JAXBExceptionpublic <T> JAXBElement<T> unmarshal(Source source, Class<T> declaredType) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic final Object unmarshal(URL url) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(javax.xml.stream.XMLEventReader reader) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic <T> JAXBElement<T> unmarshal(javax.xml.stream.XMLEventReader reader, Class<T> declaredType) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic Object unmarshal(javax.xml.stream.XMLStreamReader reader) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionpublic <T> JAXBElement<T> unmarshal(javax.xml.stream.XMLStreamReader reader, Class<T> declaredType) throws JAXBException
unmarshal in interface UnmarshallerJAXBExceptionCopyright © 2013. All Rights Reserved.