public abstract class AbstractJAXBContextFinder extends Object implements JAXBContextFinder
Modifier and Type | Class and Description |
---|---|
static class |
AbstractJAXBContextFinder.CacheKey |
Modifier and Type | Field and Description |
---|---|
protected static String |
OBJECT_FACTORY_NAME |
protected Providers |
providers |
Constructor and Description |
---|
AbstractJAXBContextFinder() |
Modifier and Type | Method and Description |
---|---|
JAXBContext |
createContext(Annotation[] parameterAnnotations,
Class... classes) |
protected abstract JAXBContext |
createContextObject(Annotation[] parameterAnnotations,
Class... classes) |
protected abstract JAXBContext |
createContextObject(Annotation[] parameterAnnotations,
String contextPath) |
JAXBContext |
createXmlTypeContext(Annotation[] parameterAnnotations,
Class... classes) |
static Class<?> |
findDefaultObjectFactoryClass(Class<?> type) |
JAXBContext |
findProvidedJAXBContext(Class<?> type,
MediaType mediaType) |
JAXBContextFinder |
getContext(Class<?> type) |
static String |
getPackageName(Class<?> type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findCacheContext, findCachedContext, findCacheXmlTypeContext
protected static final String OBJECT_FACTORY_NAME
public JAXBContext findProvidedJAXBContext(Class<?> type, MediaType mediaType) throws JAXBException
JAXBException
protected abstract JAXBContext createContextObject(Annotation[] parameterAnnotations, Class... classes) throws JAXBException
JAXBException
protected abstract JAXBContext createContextObject(Annotation[] parameterAnnotations, String contextPath) throws JAXBException
JAXBException
public JAXBContext createXmlTypeContext(Annotation[] parameterAnnotations, Class... classes) throws JAXBException
JAXBException
public JAXBContext createContext(Annotation[] parameterAnnotations, Class... classes) throws JAXBException
createContext
in interface JAXBContextFinder
JAXBException
public JAXBContextFinder getContext(Class<?> type)
Copyright © 2021 JBoss by Red Hat. All rights reserved.