public interface JAXBContextFinder
Modifier and Type | Method and Description |
---|---|
javax.xml.bind.JAXBContext |
createContext(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes) |
javax.xml.bind.JAXBContext |
findCacheContext(javax.ws.rs.core.MediaType mediaType,
java.lang.annotation.Annotation[] paraAnnotations,
java.lang.Class... classes)
This method creates a JAXBContext from a collection of classes.
|
javax.xml.bind.JAXBContext |
findCachedContext(java.lang.Class type,
javax.ws.rs.core.MediaType mediaType,
java.lang.annotation.Annotation[] parameterAnnotations)
This method with find a JAXBContext for one type.
|
javax.xml.bind.JAXBContext |
findCacheXmlTypeContext(javax.ws.rs.core.MediaType mediaType,
java.lang.annotation.Annotation[] paraAnnotations,
java.lang.Class... classes)
This method will find a JAXBContext from a set of XmlTypes that use an ObjectFactory for creation (i.e.
|
javax.xml.bind.JAXBContext findCachedContext(java.lang.Class type, javax.ws.rs.core.MediaType mediaType, java.lang.annotation.Annotation[] parameterAnnotations) throws javax.xml.bind.JAXBException
type
- mediaType
- parameterAnnotations
- javax.xml.bind.JAXBException
javax.xml.bind.JAXBContext findCacheContext(javax.ws.rs.core.MediaType mediaType, java.lang.annotation.Annotation[] paraAnnotations, java.lang.Class... classes) throws javax.xml.bind.JAXBException
mediaType
- paraAnnotations
- classes
- javax.xml.bind.JAXBException
javax.xml.bind.JAXBContext findCacheXmlTypeContext(javax.ws.rs.core.MediaType mediaType, java.lang.annotation.Annotation[] paraAnnotations, java.lang.Class... classes) throws javax.xml.bind.JAXBException
mediaType
- paraAnnotations
- packages
- javax.xml.bind.JAXBException
javax.xml.bind.JAXBContext createContext(java.lang.annotation.Annotation[] parameterAnnotations, java.lang.Class... classes) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException