Class AbstractJAXBContextFinder

java.lang.Object
org.jboss.resteasy.plugins.providers.jaxb.AbstractJAXBContextFinder
All Implemented Interfaces:
JAXBContextFinder
Direct Known Subclasses:
XmlJAXBContextFinder

public abstract class AbstractJAXBContextFinder extends Object implements JAXBContextFinder
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • OBJECT_FACTORY_NAME

      protected static final String OBJECT_FACTORY_NAME
      See Also:
    • providers

      @Context protected jakarta.ws.rs.ext.Providers providers
  • Constructor Details

    • AbstractJAXBContextFinder

      public AbstractJAXBContextFinder()
  • Method Details

    • findProvidedJAXBContext

      public jakarta.xml.bind.JAXBContext findProvidedJAXBContext(Class<?> type, jakarta.ws.rs.core.MediaType mediaType) throws jakarta.xml.bind.JAXBException
      Throws:
      jakarta.xml.bind.JAXBException
    • getPackageName

      public static String getPackageName(Class<?> type)
    • findDefaultObjectFactoryClass

      public static Class<?> findDefaultObjectFactoryClass(Class<?> type)
    • createContextObject

      protected abstract jakarta.xml.bind.JAXBContext createContextObject(Annotation[] parameterAnnotations, Class... classes) throws jakarta.xml.bind.JAXBException
      Throws:
      jakarta.xml.bind.JAXBException
    • createContextObject

      protected abstract jakarta.xml.bind.JAXBContext createContextObject(Annotation[] parameterAnnotations, String contextPath) throws jakarta.xml.bind.JAXBException
      Throws:
      jakarta.xml.bind.JAXBException
    • createXmlTypeContext

      public jakarta.xml.bind.JAXBContext createXmlTypeContext(Annotation[] parameterAnnotations, Class... classes) throws jakarta.xml.bind.JAXBException
      Throws:
      jakarta.xml.bind.JAXBException
    • createContext

      public jakarta.xml.bind.JAXBContext createContext(Annotation[] parameterAnnotations, Class... classes) throws jakarta.xml.bind.JAXBException
      Specified by:
      createContext in interface JAXBContextFinder
      Throws:
      jakarta.xml.bind.JAXBException
    • getContext

      public JAXBContextFinder getContext(Class<?> type)