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