public abstract class AbstractJAXBContextFinder extends java.lang.Object implements JAXBContextFinder
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractJAXBContextFinder.CacheKey |
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
OBJECT_FACTORY_NAME |
protected javax.ws.rs.ext.Providers |
providers |
| Constructor and Description |
|---|
AbstractJAXBContextFinder() |
| Modifier and Type | Method and Description |
|---|---|
javax.xml.bind.JAXBContext |
createContext(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes) |
protected abstract javax.xml.bind.JAXBContext |
createContextObject(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes) |
protected abstract javax.xml.bind.JAXBContext |
createContextObject(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.String contextPath) |
javax.xml.bind.JAXBContext |
createXmlTypeContext(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes) |
static java.lang.Class<?> |
findDefaultObjectFactoryClass(java.lang.Class<?> type) |
javax.xml.bind.JAXBContext |
findProvidedJAXBContext(java.lang.Class<?> type,
javax.ws.rs.core.MediaType mediaType) |
JAXBContextFinder |
getContext(java.lang.Class<?> type) |
static java.lang.String |
getPackageName(java.lang.Class<?> type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindCacheContext, findCachedContext, findCacheXmlTypeContextprotected static final java.lang.String OBJECT_FACTORY_NAME
@Context protected javax.ws.rs.ext.Providers providers
public javax.xml.bind.JAXBContext findProvidedJAXBContext(java.lang.Class<?> type,
javax.ws.rs.core.MediaType mediaType)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic static java.lang.String getPackageName(java.lang.Class<?> type)
public static java.lang.Class<?> findDefaultObjectFactoryClass(java.lang.Class<?> type)
protected abstract javax.xml.bind.JAXBContext createContextObject(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected abstract javax.xml.bind.JAXBContext createContextObject(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.String contextPath)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic javax.xml.bind.JAXBContext createXmlTypeContext(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionpublic javax.xml.bind.JAXBContext createContext(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes)
throws javax.xml.bind.JAXBException
createContext in interface JAXBContextFinderjavax.xml.bind.JAXBExceptionpublic JAXBContextFinder getContext(java.lang.Class<?> type)