@Provider @Produces(value={"text/*+xml","application/*+xml"}) public class XmlJAXBContextFinder extends AbstractJAXBContextFinder implements ContextResolver<JAXBContextFinder>
AbstractJAXBContextFinder.CacheKeyOBJECT_FACTORY_NAME, providers| Constructor and Description |
|---|
XmlJAXBContextFinder() |
| Modifier and Type | Method and Description |
|---|---|
protected JAXBContext |
createContextObject(Annotation[] parameterAnnotations,
Class... classes) |
protected JAXBContext |
createContextObject(Annotation[] parameterAnnotations,
String contextPath) |
JAXBContext |
findCacheContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes)
This method creates a JAXBContext from a collection of classes.
|
JAXBContext |
findCachedContext(Class type,
MediaType mediaType,
Annotation[] parameterAnnotations)
This method with find a JAXBContext for one type.
|
JAXBContext |
findCacheXmlTypeContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes)
This method will find a JAXBContext from a set of XmlTypes that use an ObjectFactory for creation (i.e.
|
createContext, createXmlTypeContext, findDefaultObjectFactoryClass, findProvidedJAXBContext, getContext, getPackageNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextpublic JAXBContext findCachedContext(Class type, MediaType mediaType, Annotation[] parameterAnnotations) throws JAXBException
JAXBContextFinderfindCachedContext in interface JAXBContextFinderJAXBExceptionprotected JAXBContext createContextObject(Annotation[] parameterAnnotations, Class... classes) throws JAXBException
createContextObject in class AbstractJAXBContextFinderJAXBExceptionprotected JAXBContext createContextObject(Annotation[] parameterAnnotations, String contextPath) throws JAXBException
createContextObject in class AbstractJAXBContextFinderJAXBExceptionpublic JAXBContext findCacheContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) throws JAXBException
JAXBContextFinderfindCacheContext in interface JAXBContextFinderJAXBExceptionpublic JAXBContext findCacheXmlTypeContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) throws JAXBException
JAXBContextFinderfindCacheXmlTypeContext in interface JAXBContextFinderJAXBExceptionCopyright © 2015. All Rights Reserved.