public class UnmarshallerImpl extends Object implements ExtendedUnmarshaller
Unmarshaller.Listener
Constructor and Description |
---|
UnmarshallerImpl(JAXBIntrospectorImpl introspector) |
public UnmarshallerImpl(JAXBIntrospectorImpl introspector) throws JAXBException
JAXBException
public Object unmarshal(File file) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(InputStream inputStream) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(Reader reader) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(URL url) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(InputSource inputSource, Class<T> declaredType) throws JAXBException
JAXBException
public Object unmarshal(InputSource inputSource) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(Node node, Class<T> declaredType) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(Node node) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(Source source, Class<T> declaredType) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(Source source) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(XMLEventReader xmlEventReader, Class<T> declaredType) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(XMLEventReader xmlEventReader) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(XMLStreamReader xmlStreamReader, Class<T> declaredType) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(XMLStreamReader xmlStreamReader) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object read(XMLStreamReader xmlStreamReader, Class<?> declaredType, Boolean jaxbElementWrap, RuntimeContext runtimeContext) throws JAXBException
read
in interface ExtendedUnmarshaller
JAXBException
public Unmarshaller.Listener getListener()
getListener
in interface Unmarshaller
public void setListener(Unmarshaller.Listener listener)
setListener
in interface Unmarshaller
public ValidationEventHandler getEventHandler() throws JAXBException
getEventHandler
in interface Unmarshaller
JAXBException
public void setEventHandler(ValidationEventHandler handler) throws JAXBException
setEventHandler
in interface Unmarshaller
JAXBException
public <A extends XmlAdapter> A getAdapter(Class<A> type)
getAdapter
in interface Unmarshaller
public void setAdapter(XmlAdapter adapter)
setAdapter
in interface Unmarshaller
public <A extends XmlAdapter> void setAdapter(Class<A> type, A adapter)
setAdapter
in interface Unmarshaller
public AttachmentUnmarshaller getAttachmentUnmarshaller()
getAttachmentUnmarshaller
in interface Unmarshaller
public void setAttachmentUnmarshaller(AttachmentUnmarshaller attachmentUnmarshaller)
setAttachmentUnmarshaller
in interface Unmarshaller
public Schema getSchema()
getSchema
in interface Unmarshaller
public void setSchema(Schema schema)
setSchema
in interface Unmarshaller
public UnmarshallerHandlerImpl getUnmarshallerHandler()
getUnmarshallerHandler
in interface Unmarshaller
public Object getProperty(String name) throws PropertyException
getProperty
in interface Unmarshaller
PropertyException
public void setProperty(String name, Object value) throws PropertyException
setProperty
in interface Unmarshaller
PropertyException
public boolean isValidating() throws JAXBException
isValidating
in interface Unmarshaller
JAXBException
public void setValidating(boolean validating) throws JAXBException
setValidating
in interface Unmarshaller
JAXBException
Copyright © 2007–2018. All rights reserved.