Class AbstractJAXBContextFinder
java.lang.Object
org.jboss.resteasy.plugins.providers.jaxb.AbstractJAXBContextFinder
- All Implemented Interfaces:
JAXBContextFinder
- Direct Known Subclasses:
XmlJAXBContextFinder
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected jakarta.ws.rs.ext.Providers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.bind.JAXBContext
createContext
(Annotation[] parameterAnnotations, Class... classes) protected abstract jakarta.xml.bind.JAXBContext
createContextObject
(Annotation[] parameterAnnotations, Class... classes) protected abstract jakarta.xml.bind.JAXBContext
createContextObject
(Annotation[] parameterAnnotations, String contextPath) jakarta.xml.bind.JAXBContext
createXmlTypeContext
(Annotation[] parameterAnnotations, Class... classes) static Class
<?> findDefaultObjectFactoryClass
(Class<?> type) jakarta.xml.bind.JAXBContext
findProvidedJAXBContext
(Class<?> type, jakarta.ws.rs.core.MediaType mediaType) getContext
(Class<?> type) static String
getPackageName
(Class<?> type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.resteasy.plugins.providers.jaxb.JAXBContextFinder
findCacheContext, findCachedContext, findCacheXmlTypeContext
-
Field Details
-
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
-
findDefaultObjectFactoryClass
-
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 interfaceJAXBContextFinder
- Throws:
jakarta.xml.bind.JAXBException
-
getContext
-