org.jboss.resteasy.plugins.providers.jaxb
Interface JAXBContextFinder
- All Known Implementing Classes:
- AbstractJAXBContextFinder, FastinfoSetJAXBContextFinder, JsonJAXBContextFinder, XmlJAXBContextFinder
public interface JAXBContextFinder
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Method Summary |
javax.xml.bind.JAXBContext |
createContext(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes)
|
javax.xml.bind.JAXBContext |
findCacheContext(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,
MediaType mediaType,
java.lang.annotation.Annotation[] parameterAnnotations)
This method with find a JAXBContext for one type. |
findCachedContext
javax.xml.bind.JAXBContext findCachedContext(java.lang.Class type,
MediaType mediaType,
java.lang.annotation.Annotation[] parameterAnnotations)
throws javax.xml.bind.JAXBException
- This method with find a JAXBContext for one type. The user can override the cache by defining
a ContextResolver for the given media type.
- Parameters:
type
- mediaType
- parameterAnnotations
-
- Returns:
-
- Throws:
javax.xml.bind.JAXBException
findCacheContext
javax.xml.bind.JAXBContext findCacheContext(MediaType mediaType,
java.lang.annotation.Annotation[] paraAnnotations,
java.lang.Class... classes)
throws javax.xml.bind.JAXBException
- This method creates a JAXBContext from a collection of classes. Unlike the other findCachedContext() method,
the user cannot override the JAXBContext created.
- Parameters:
mediaType
- paraAnnotations
- classes
-
- Returns:
-
- Throws:
javax.xml.bind.JAXBException
createContext
javax.xml.bind.JAXBContext createContext(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
Copyright © 2009. All Rights Reserved.