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
  • 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

      public Object unmarshal(File file) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(InputStream inputStream) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(Reader reader) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(URL url) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(InputSource inputSource) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(Node node) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.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 interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(Source source) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.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 interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(XMLStreamReader xmlStreamReader) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.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 interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • unmarshal

      public Object unmarshal(XMLEventReader xmlEventReader) throws jakarta.xml.bind.JAXBException
      Specified by:
      unmarshal in interface jakarta.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 interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • getUnmarshallerHandler

      public jakarta.xml.bind.UnmarshallerHandler getUnmarshallerHandler()
      Specified by:
      getUnmarshallerHandler in interface jakarta.xml.bind.Unmarshaller
    • setEventHandler

      public void setEventHandler(jakarta.xml.bind.ValidationEventHandler validationEventHandler) throws jakarta.xml.bind.JAXBException
      Specified by:
      setEventHandler in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • getEventHandler

      public jakarta.xml.bind.ValidationEventHandler getEventHandler() throws jakarta.xml.bind.JAXBException
      Specified by:
      getEventHandler in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.JAXBException
    • setProperty

      public void setProperty(String key, Object value) throws jakarta.xml.bind.PropertyException
      Specified by:
      setProperty in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.PropertyException
    • getProperty

      public Object getProperty(String key) throws jakarta.xml.bind.PropertyException
      Specified by:
      getProperty in interface jakarta.xml.bind.Unmarshaller
      Throws:
      jakarta.xml.bind.PropertyException
    • setSchema

      public void setSchema(Schema schema)
      Specified by:
      setSchema in interface jakarta.xml.bind.Unmarshaller
    • getSchema

      public Schema getSchema()
      Specified by:
      getSchema in interface jakarta.xml.bind.Unmarshaller
    • setAdapter

      public <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?, ?>> void setAdapter(A xmlAdapter)
      Specified by:
      setAdapter in interface jakarta.xml.bind.Unmarshaller
    • setAdapter

      public <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?, ?>> void setAdapter(Class<A> type, A adapter)
      Specified by:
      setAdapter in interface jakarta.xml.bind.Unmarshaller
    • getAdapter

      public <A extends jakarta.xml.bind.annotation.adapters.XmlAdapter<?, ?>> A getAdapter(Class<A> type)
      Specified by:
      getAdapter in interface jakarta.xml.bind.Unmarshaller
    • setAttachmentUnmarshaller

      public void setAttachmentUnmarshaller(jakarta.xml.bind.attachment.AttachmentUnmarshaller attachmentUnmarshaller)
      Specified by:
      setAttachmentUnmarshaller in interface jakarta.xml.bind.Unmarshaller
    • getAttachmentUnmarshaller

      public jakarta.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller()
      Specified by:
      getAttachmentUnmarshaller in interface jakarta.xml.bind.Unmarshaller
    • setListener

      public void setListener(jakarta.xml.bind.Unmarshaller.Listener listener)
      Specified by:
      setListener in interface jakarta.xml.bind.Unmarshaller
    • getListener

      public jakarta.xml.bind.Unmarshaller.Listener getListener()
      Specified by:
      getListener in interface jakarta.xml.bind.Unmarshaller