public class JettisonJaxbUnmarshaller extends BaseJsonUnmarshaller implements Unmarshaller
Unmarshaller.Listener
jaxbUnmarshaller, jsonConfig
Constructor and Description |
---|
JettisonJaxbUnmarshaller(JAXBContext jaxbContext,
JettisonConfig jsonConfig) |
getJSONConfiguration, unmarshalFromJSON, unmarshalFromJSON, unmarshalJAXBElementFromJSON, unmarshalJAXBElementFromJSON
public JettisonJaxbUnmarshaller(JAXBContext jaxbContext, JettisonConfig jsonConfig) 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 Object unmarshal(InputSource inputSource) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(Node node) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(Node node, Class<T> type) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(Source source) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(Source source, Class<T> type) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(XMLStreamReader xmlStreamReader) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(XMLStreamReader xmlStreamReader, Class<T> type) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public Object unmarshal(XMLEventReader xmlEventReader) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public <T> JAXBElement<T> unmarshal(XMLEventReader xmlEventReader, Class<T> type) throws JAXBException
unmarshal
in interface Unmarshaller
JAXBException
public UnmarshallerHandler getUnmarshallerHandler()
getUnmarshallerHandler
in interface Unmarshaller
public void setValidating(boolean validating) throws JAXBException
setValidating
in interface Unmarshaller
JAXBException
public boolean isValidating() throws JAXBException
isValidating
in interface Unmarshaller
JAXBException
public void setEventHandler(ValidationEventHandler validationEventHandler) throws JAXBException
setEventHandler
in interface Unmarshaller
JAXBException
public ValidationEventHandler getEventHandler() throws JAXBException
getEventHandler
in interface Unmarshaller
JAXBException
public void setProperty(String key, Object value) throws PropertyException
setProperty
in interface Unmarshaller
PropertyException
public Object getProperty(String key) throws PropertyException
getProperty
in interface Unmarshaller
PropertyException
public void setSchema(Schema schema)
setSchema
in interface Unmarshaller
public Schema getSchema()
getSchema
in interface Unmarshaller
public void setAdapter(XmlAdapter xmlAdapter)
setAdapter
in interface Unmarshaller
public <A extends XmlAdapter> void setAdapter(Class<A> type, A adapter)
setAdapter
in interface Unmarshaller
public <A extends XmlAdapter> A getAdapter(Class<A> type)
getAdapter
in interface Unmarshaller
public void setAttachmentUnmarshaller(AttachmentUnmarshaller attachmentUnmarshaller)
setAttachmentUnmarshaller
in interface Unmarshaller
public AttachmentUnmarshaller getAttachmentUnmarshaller()
getAttachmentUnmarshaller
in interface Unmarshaller
public void setListener(Unmarshaller.Listener listener)
setListener
in interface Unmarshaller
public Unmarshaller.Listener getListener()
getListener
in interface Unmarshaller
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.