public interface JAXBContextFinder
| Modifier and Type | Method and Description |
|---|---|
JAXBContext |
createContext(Annotation[] parameterAnnotations,
Class... classes) |
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.
|
JAXBContext findCachedContext(Class type, MediaType mediaType, Annotation[] parameterAnnotations) throws JAXBException
type - mediaType - parameterAnnotations - JAXBExceptionJAXBContext findCacheContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) throws JAXBException
mediaType - paraAnnotations - classes - JAXBExceptionJAXBContext findCacheXmlTypeContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) throws JAXBException
mediaType - paraAnnotations - packages - JAXBExceptionJAXBContext createContext(Annotation[] parameterAnnotations, Class... classes) throws JAXBException
JAXBExceptionCopyright © 2015. All Rights Reserved.