|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.bind.JAXBContext
org.jboss.resteasy.plugins.providers.jaxb.JAXBContextWrapper
public class JAXBContextWrapper
A wrapper class around a JAXBContext that enables additional features to the RESTEasy JAXB-based providers.
Field Summary |
---|
Fields inherited from class javax.xml.bind.JAXBContext |
---|
JAXB_CONTEXT_FACTORY |
Constructor Summary | |
---|---|
JAXBContextWrapper(Class<?>[] classes,
Map<String,Object> properties,
JAXBConfig config)
Create a new JAXBContextWrapper. |
|
JAXBContextWrapper(JAXBConfig config,
Class<?>... classes)
Create a new JAXBContextWrapper. |
|
JAXBContextWrapper(JAXBContext wrappedContext,
JAXBConfig config)
|
|
JAXBContextWrapper(String contextPath,
JAXBConfig config)
Create a new JAXBContextWrapper. |
Method Summary | ||
---|---|---|
Binder<Node> |
createBinder()
|
|
|
createBinder(Class<T> domType)
|
|
JAXBIntrospector |
createJAXBIntrospector()
|
|
Marshaller |
createMarshaller()
|
|
Unmarshaller |
createUnmarshaller()
|
|
Validator |
createValidator()
Deprecated. |
|
void |
generateSchema(SchemaOutputResolver outputResolver)
|
|
Schema |
getSchema()
Get the schema. |
|
void |
setSchema(Schema schema)
Set the schema. |
Methods inherited from class javax.xml.bind.JAXBContext |
---|
newInstance, newInstance, newInstance, newInstance, newInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAXBContextWrapper(JAXBContext wrappedContext, JAXBConfig config) throws JAXBException
JAXBException
public JAXBContextWrapper(Class<?>[] classes, Map<String,Object> properties, JAXBConfig config) throws JAXBException
classes
- properties
- config
-
JAXBException
public JAXBContextWrapper(String contextPath, JAXBConfig config) throws JAXBException
contextPath
- config
-
JAXBException
public JAXBContextWrapper(JAXBConfig config, Class<?>... classes) throws JAXBException
classes
- config
-
JAXBException
Method Detail |
---|
public Schema getSchema()
public void setSchema(Schema schema)
schema
- The schema to set.public Binder<Node> createBinder()
createBinder
in class JAXBContext
JAXBContext.createBinder()
public <T> Binder<T> createBinder(Class<T> domType)
createBinder
in class JAXBContext
T
- domType
-
JAXBContext.createBinder(java.lang.Class)
public JAXBIntrospector createJAXBIntrospector()
createJAXBIntrospector
in class JAXBContext
JAXBContext.createJAXBIntrospector()
public Marshaller createMarshaller() throws JAXBException
createMarshaller
in class JAXBContext
JAXBException
JAXBContext.createMarshaller()
public Unmarshaller createUnmarshaller() throws JAXBException
createUnmarshaller
in class JAXBContext
JAXBException
JAXBContext.createUnmarshaller()
public Validator createValidator() throws JAXBException
createValidator
in class JAXBContext
JAXBException
JAXBContext.createValidator()
public void generateSchema(SchemaOutputResolver outputResolver) throws IOException
generateSchema
in class JAXBContext
outputResolver
-
IOException
JAXBContext.generateSchema(javax.xml.bind.SchemaOutputResolver)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |