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
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateContext(Annotation[] parameterAnnotations, Class... classes) protected abstract JAXBContextcreateContextObject(Annotation[] parameterAnnotations, Class... classes) protected abstract JAXBContextcreateContextObject(Annotation[] parameterAnnotations, String contextPath) createXmlTypeContext(Annotation[] parameterAnnotations, Class... classes) static Class<?>findDefaultObjectFactoryClass(Class<?> type) findProvidedJAXBContext(Class<?> type, MediaType mediaType) getContext(Class<?> type) static StringgetPackageName(Class<?> type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.resteasy.plugins.providers.jaxb.JAXBContextFinder
findCacheContext, findCachedContext, findCacheXmlTypeContext
-
Field Details
-
OBJECT_FACTORY_NAME
- See Also:
-
providers
-
-
Constructor Details
-
AbstractJAXBContextFinder
public AbstractJAXBContextFinder()
-
-
Method Details
-
findProvidedJAXBContext
- Throws:
JAXBException
-
getPackageName
-
findDefaultObjectFactoryClass
-
createContextObject
protected abstract JAXBContext createContextObject(Annotation[] parameterAnnotations, Class... classes) throws JAXBException - Throws:
JAXBException
-
createContextObject
protected abstract JAXBContext createContextObject(Annotation[] parameterAnnotations, String contextPath) throws JAXBException - Throws:
JAXBException
-
createXmlTypeContext
public JAXBContext createXmlTypeContext(Annotation[] parameterAnnotations, Class... classes) throws JAXBException - Throws:
JAXBException
-
createContext
public JAXBContext createContext(Annotation[] parameterAnnotations, Class... classes) throws JAXBException - Specified by:
createContextin interfaceJAXBContextFinder- Throws:
JAXBException
-
getContext
-