|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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(java.lang.Class<?>[] classes,
java.util.Map<java.lang.String,java.lang.Object> properties,
JAXBConfig config)
Create a new JAXBContextWrapper. |
|
JAXBContextWrapper(JAXBConfig config,
java.lang.Class<?>... classes)
Create a new JAXBContextWrapper. |
|
JAXBContextWrapper(javax.xml.bind.JAXBContext wrappedContext,
JAXBConfig config)
|
|
JAXBContextWrapper(java.lang.String contextPath,
JAXBConfig config)
Create a new JAXBContextWrapper. |
Method Summary | ||
---|---|---|
javax.xml.bind.Binder<org.w3c.dom.Node> |
createBinder()
|
|
|
createBinder(java.lang.Class<T> domType)
|
|
javax.xml.bind.JAXBIntrospector |
createJAXBIntrospector()
|
|
javax.xml.bind.Marshaller |
createMarshaller()
|
|
javax.xml.bind.Unmarshaller |
createUnmarshaller()
|
|
javax.xml.bind.Validator |
createValidator()
Deprecated. |
|
void |
generateSchema(javax.xml.bind.SchemaOutputResolver outputResolver)
|
|
javax.xml.validation.Schema |
getSchema()
Get the schema. |
|
void |
setSchema(javax.xml.validation.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(javax.xml.bind.JAXBContext wrappedContext, JAXBConfig config) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public JAXBContextWrapper(java.lang.Class<?>[] classes, java.util.Map<java.lang.String,java.lang.Object> properties, JAXBConfig config) throws javax.xml.bind.JAXBException
classes
- properties
- config
-
javax.xml.bind.JAXBException
public JAXBContextWrapper(java.lang.String contextPath, JAXBConfig config) throws javax.xml.bind.JAXBException
contextPath
- config
-
javax.xml.bind.JAXBException
public JAXBContextWrapper(JAXBConfig config, java.lang.Class<?>... classes) throws javax.xml.bind.JAXBException
classes
- config
-
javax.xml.bind.JAXBException
Method Detail |
---|
public javax.xml.validation.Schema getSchema()
public void setSchema(javax.xml.validation.Schema schema)
schema
- The schema to set.public javax.xml.bind.Binder<org.w3c.dom.Node> createBinder()
createBinder
in class javax.xml.bind.JAXBContext
JAXBContext.createBinder()
public <T> javax.xml.bind.Binder<T> createBinder(java.lang.Class<T> domType)
createBinder
in class javax.xml.bind.JAXBContext
T
- domType
-
JAXBContext.createBinder(java.lang.Class)
public javax.xml.bind.JAXBIntrospector createJAXBIntrospector()
createJAXBIntrospector
in class javax.xml.bind.JAXBContext
JAXBContext.createJAXBIntrospector()
public javax.xml.bind.Marshaller createMarshaller() throws javax.xml.bind.JAXBException
createMarshaller
in class javax.xml.bind.JAXBContext
javax.xml.bind.JAXBException
JAXBContext.createMarshaller()
public javax.xml.bind.Unmarshaller createUnmarshaller() throws javax.xml.bind.JAXBException
createUnmarshaller
in class javax.xml.bind.JAXBContext
javax.xml.bind.JAXBException
JAXBContext.createUnmarshaller()
public javax.xml.bind.Validator createValidator() throws javax.xml.bind.JAXBException
createValidator
in class javax.xml.bind.JAXBContext
javax.xml.bind.JAXBException
JAXBContext.createValidator()
public void generateSchema(javax.xml.bind.SchemaOutputResolver outputResolver) throws java.io.IOException
generateSchema
in class javax.xml.bind.JAXBContext
outputResolver
-
java.io.IOException
JAXBContext.generateSchema(javax.xml.bind.SchemaOutputResolver)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |