org.jboss.resteasy.plugins.providers.jaxb
Class AbstractJAXBContextFinder
java.lang.Object
org.jboss.resteasy.plugins.providers.jaxb.AbstractJAXBContextFinder
- All Implemented Interfaces:
- JAXBContextFinder
- Direct Known Subclasses:
- JsonJAXBContextFinder, XmlJAXBContextFinder
public abstract class AbstractJAXBContextFinder
- extends java.lang.Object
- implements JAXBContextFinder
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBJECT_FACTORY_NAME
protected static final java.lang.String OBJECT_FACTORY_NAME
- See Also:
- Constant Field Values
providers
@Context
protected Providers providers
AbstractJAXBContextFinder
public AbstractJAXBContextFinder()
findProvidedJAXBContext
public javax.xml.bind.JAXBContext findProvidedJAXBContext(java.lang.Class<?> type,
MediaType mediaType)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
getPackageName
public static java.lang.String getPackageName(java.lang.Class<?> type)
findDefaultObjectFactoryClass
public static java.lang.Class<?> findDefaultObjectFactoryClass(java.lang.Class<?> type)
createContextObject
protected abstract javax.xml.bind.JAXBContext createContextObject(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes)
throws javax.xml.bind.JAXBException
- Throws:
javax.xml.bind.JAXBException
createContext
public javax.xml.bind.JAXBContext createContext(java.lang.annotation.Annotation[] parameterAnnotations,
java.lang.Class... classes)
throws javax.xml.bind.JAXBException
- Specified by:
createContext
in interface JAXBContextFinder
- Throws:
javax.xml.bind.JAXBException
getContext
public JAXBContextFinder getContext(java.lang.Class<?> type)
Copyright © 2010. All Rights Reserved.