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
- JAXBException
JAXBContext findCacheContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) throws JAXBException
mediaType
- paraAnnotations
- classes
- JAXBException
JAXBContext findCacheXmlTypeContext(MediaType mediaType, Annotation[] paraAnnotations, Class... classes) throws JAXBException
mediaType
- paraAnnotations
- packages
- JAXBException
JAXBContext createContext(Annotation[] parameterAnnotations, Class... classes) throws JAXBException
JAXBException
Copyright © 2017 JBoss by Red Hat. All rights reserved.