Class JettisonJaxbUnmarshaller
java.lang.Object
org.glassfish.jersey.jettison.internal.BaseJsonUnmarshaller
org.glassfish.jersey.jettison.internal.JettisonJaxbUnmarshaller
- All Implemented Interfaces:
jakarta.xml.bind.Unmarshaller
,JettisonConfigured
,JettisonUnmarshaller
public class JettisonJaxbUnmarshaller
extends BaseJsonUnmarshaller
implements jakarta.xml.bind.Unmarshaller
JSON JAXB unmarshaller.
- Author:
- Jakub Podlesak
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.xml.bind.Unmarshaller
jakarta.xml.bind.Unmarshaller.Listener
-
Field Summary
Fields inherited from class org.glassfish.jersey.jettison.internal.BaseJsonUnmarshaller
jaxbUnmarshaller, jsonConfig
-
Constructor Summary
ConstructorDescriptionJettisonJaxbUnmarshaller
(jakarta.xml.bind.JAXBContext jaxbContext, JettisonConfig jsonConfig) -
Method Summary
Modifier and TypeMethodDescription<A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?,
?>>
AgetAdapter
(Class<A> type) jakarta.xml.bind.attachment.AttachmentUnmarshaller
jakarta.xml.bind.ValidationEventHandler
jakarta.xml.bind.Unmarshaller.Listener
getProperty
(String key) jakarta.xml.bind.UnmarshallerHandler
<A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?,
?>>
voidsetAdapter
(A xmlAdapter) <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?,
?>>
voidsetAdapter
(Class<A> type, A adapter) 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
unmarshal
(InputStream inputStream) unmarshal
(XMLEventReader xmlEventReader) <T> jakarta.xml.bind.JAXBElement<T>
unmarshal
(XMLEventReader xmlEventReader, Class<T> type) unmarshal
(XMLStreamReader xmlStreamReader) <T> jakarta.xml.bind.JAXBElement<T>
unmarshal
(XMLStreamReader xmlStreamReader, Class<T> type) <T> jakarta.xml.bind.JAXBElement<T>
<T> jakarta.xml.bind.JAXBElement<T>
unmarshal
(InputSource inputSource) Methods inherited from class org.glassfish.jersey.jettison.internal.BaseJsonUnmarshaller
getJSONConfiguration, unmarshalFromJSON, unmarshalFromJSON, unmarshalJAXBElementFromJSON, unmarshalJAXBElementFromJSON
-
Constructor Details
-
JettisonJaxbUnmarshaller
public JettisonJaxbUnmarshaller(jakarta.xml.bind.JAXBContext jaxbContext, JettisonConfig jsonConfig) throws jakarta.xml.bind.JAXBException - Throws:
jakarta.xml.bind.JAXBException
-
-
Method Details
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public <T> jakarta.xml.bind.JAXBElement<T> unmarshal(Node node, Class<T> type) throws jakarta.xml.bind.JAXBException - Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public <T> jakarta.xml.bind.JAXBElement<T> unmarshal(Source source, Class<T> type) throws jakarta.xml.bind.JAXBException - Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public <T> jakarta.xml.bind.JAXBElement<T> unmarshal(XMLStreamReader xmlStreamReader, Class<T> type) throws jakarta.xml.bind.JAXBException - Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
- Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
unmarshal
public <T> jakarta.xml.bind.JAXBElement<T> unmarshal(XMLEventReader xmlEventReader, Class<T> type) throws jakarta.xml.bind.JAXBException - Specified by:
unmarshal
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
getUnmarshallerHandler
public jakarta.xml.bind.UnmarshallerHandler getUnmarshallerHandler()- Specified by:
getUnmarshallerHandler
in interfacejakarta.xml.bind.Unmarshaller
-
setEventHandler
public void setEventHandler(jakarta.xml.bind.ValidationEventHandler validationEventHandler) throws jakarta.xml.bind.JAXBException - Specified by:
setEventHandler
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
getEventHandler
public jakarta.xml.bind.ValidationEventHandler getEventHandler() throws jakarta.xml.bind.JAXBException- Specified by:
getEventHandler
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.JAXBException
-
setProperty
- Specified by:
setProperty
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.PropertyException
-
getProperty
- Specified by:
getProperty
in interfacejakarta.xml.bind.Unmarshaller
- Throws:
jakarta.xml.bind.PropertyException
-
setSchema
- Specified by:
setSchema
in interfacejakarta.xml.bind.Unmarshaller
-
getSchema
- Specified by:
getSchema
in interfacejakarta.xml.bind.Unmarshaller
-
setAdapter
public <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?,?>> void setAdapter(A xmlAdapter) - Specified by:
setAdapter
in interfacejakarta.xml.bind.Unmarshaller
-
setAdapter
public <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?,?>> void setAdapter(Class<A> type, A adapter) - Specified by:
setAdapter
in interfacejakarta.xml.bind.Unmarshaller
-
getAdapter
public <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?,?>> A getAdapter(Class<A> type) - Specified by:
getAdapter
in interfacejakarta.xml.bind.Unmarshaller
-
setAttachmentUnmarshaller
public void setAttachmentUnmarshaller(jakarta.xml.bind.attachment.AttachmentUnmarshaller attachmentUnmarshaller) - Specified by:
setAttachmentUnmarshaller
in interfacejakarta.xml.bind.Unmarshaller
-
getAttachmentUnmarshaller
public jakarta.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()- Specified by:
getAttachmentUnmarshaller
in interfacejakarta.xml.bind.Unmarshaller
-
setListener
public void setListener(jakarta.xml.bind.Unmarshaller.Listener listener) - Specified by:
setListener
in interfacejakarta.xml.bind.Unmarshaller
-
getListener
public jakarta.xml.bind.Unmarshaller.Listener getListener()- Specified by:
getListener
in interfacejakarta.xml.bind.Unmarshaller
-