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
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractJAXBContextFinder.CacheKey 
- 
Field Summary
Fields Modifier and Type Field Description protected static StringOBJECT_FACTORY_NAMEprotected javax.ws.rs.ext.Providersproviders 
- 
Constructor Summary
Constructors Constructor Description AbstractJAXBContextFinder() 
- 
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description JAXBContextcreateContext(Annotation[] parameterAnnotations, Class... classes)protected abstract JAXBContextcreateContextObject(Annotation[] parameterAnnotations, Class... classes)protected abstract JAXBContextcreateContextObject(Annotation[] parameterAnnotations, String contextPath)JAXBContextcreateXmlTypeContext(Annotation[] parameterAnnotations, Class... classes)static Class<?>findDefaultObjectFactoryClass(Class<?> type)JAXBContextfindProvidedJAXBContext(Class<?> type, javax.ws.rs.core.MediaType mediaType)JAXBContextFindergetContext(Class<?> type)static StringgetPackageName(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 Detail
- 
OBJECT_FACTORY_NAME
protected static final String OBJECT_FACTORY_NAME
- See Also:
 - Constant Field Values
 
 
- 
providers
@Context protected javax.ws.rs.ext.Providers providers
 
 - 
 
- 
Method Detail
- 
findProvidedJAXBContext
public JAXBContext findProvidedJAXBContext(Class<?> type, javax.ws.rs.core.MediaType mediaType) throws JAXBException
- Throws:
 JAXBException
 
- 
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
public JAXBContextFinder getContext(Class<?> type)
 
 - 
 
 -