Class FastinfoSetUnmarshaller
- java.lang.Object
-
- org.jboss.resteasy.plugins.providers.jaxb.fastinfoset.FastinfoSetUnmarshaller
-
- All Implemented Interfaces:
Unmarshaller
public class FastinfoSetUnmarshaller extends Object implements Unmarshaller
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface javax.xml.bind.Unmarshaller
Unmarshaller.Listener
-
-
Constructor Summary
Constructors Constructor Description FastinfoSetUnmarshaller(JAXBContext context)
-
Method Summary
-
-
-
Constructor Detail
-
FastinfoSetUnmarshaller
public FastinfoSetUnmarshaller(JAXBContext context) throws JAXBException
- Throws:
JAXBException
-
-
Method Detail
-
getFastinfoSetXMLStreamReader
protected static XMLStreamReader getFastinfoSetXMLStreamReader(InputStream entityStream)
-
unmarshal
public Object unmarshal(File file) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(InputStream inputStream) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(Reader reader) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(URL url) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(InputSource inputSource) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(Node node) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public <T> JAXBElement<T> unmarshal(Node node, Class<T> tClass) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(Source source) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public <T> JAXBElement<T> unmarshal(Source source, Class<T> tClass) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(XMLStreamReader xmlStreamReader) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public <T> JAXBElement<T> unmarshal(XMLStreamReader xmlStreamReader, Class<T> tClass) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public Object unmarshal(XMLEventReader xmlEventReader) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
unmarshal
public <T> JAXBElement<T> unmarshal(XMLEventReader xmlEventReader, Class<T> tClass) throws JAXBException
- Specified by:
unmarshal
in interfaceUnmarshaller
- Throws:
JAXBException
-
getUnmarshallerHandler
public UnmarshallerHandler getUnmarshallerHandler()
- Specified by:
getUnmarshallerHandler
in interfaceUnmarshaller
-
setValidating
public void setValidating(boolean b) throws JAXBException
- Specified by:
setValidating
in interfaceUnmarshaller
- Throws:
JAXBException
-
isValidating
public boolean isValidating() throws JAXBException
- Specified by:
isValidating
in interfaceUnmarshaller
- Throws:
JAXBException
-
setEventHandler
public void setEventHandler(ValidationEventHandler validationEventHandler) throws JAXBException
- Specified by:
setEventHandler
in interfaceUnmarshaller
- Throws:
JAXBException
-
getEventHandler
public ValidationEventHandler getEventHandler() throws JAXBException
- Specified by:
getEventHandler
in interfaceUnmarshaller
- Throws:
JAXBException
-
setProperty
public void setProperty(String s, Object o) throws PropertyException
- Specified by:
setProperty
in interfaceUnmarshaller
- Throws:
PropertyException
-
getProperty
public Object getProperty(String s) throws PropertyException
- Specified by:
getProperty
in interfaceUnmarshaller
- Throws:
PropertyException
-
setSchema
public void setSchema(Schema schema)
- Specified by:
setSchema
in interfaceUnmarshaller
-
getSchema
public Schema getSchema()
- Specified by:
getSchema
in interfaceUnmarshaller
-
setAdapter
public void setAdapter(XmlAdapter xmlAdapter)
- Specified by:
setAdapter
in interfaceUnmarshaller
-
setAdapter
public <A extends XmlAdapter> void setAdapter(Class<A> aClass, A a)
- Specified by:
setAdapter
in interfaceUnmarshaller
-
getAdapter
public <A extends XmlAdapter> A getAdapter(Class<A> aClass)
- Specified by:
getAdapter
in interfaceUnmarshaller
-
setAttachmentUnmarshaller
public void setAttachmentUnmarshaller(AttachmentUnmarshaller attachmentUnmarshaller)
- Specified by:
setAttachmentUnmarshaller
in interfaceUnmarshaller
-
getAttachmentUnmarshaller
public AttachmentUnmarshaller getAttachmentUnmarshaller()
- Specified by:
getAttachmentUnmarshaller
in interfaceUnmarshaller
-
setListener
public void setListener(Unmarshaller.Listener listener)
- Specified by:
setListener
in interfaceUnmarshaller
-
getListener
public Unmarshaller.Listener getListener()
- Specified by:
getListener
in interfaceUnmarshaller
-
-