public abstract class JAXBContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JAXB_CONTEXT_FACTORY |
| Modifier | Constructor and Description |
|---|---|
protected |
JAXBContext() |
| Modifier and Type | Method and Description |
|---|---|
Binder<Node> |
createBinder() |
<T> Binder<T> |
createBinder(Class<T> domType) |
JAXBIntrospector |
createJAXBIntrospector() |
abstract Marshaller |
createMarshaller() |
abstract Unmarshaller |
createUnmarshaller() |
abstract Validator |
createValidator() |
void |
generateSchema(SchemaOutputResolver resolver) |
static JAXBContext |
newInstance(Class... classesToBeBound) |
static JAXBContext |
newInstance(Class[] classesToBeBound,
Map<String,?> properties) |
static JAXBContext |
newInstance(String contextPath) |
static JAXBContext |
newInstance(String contextPath,
ClassLoader classLoader) |
static JAXBContext |
newInstance(String contextPath,
ClassLoader classLoader,
Map<String,?> properties) |
public static final String JAXB_CONTEXT_FACTORY
public JAXBIntrospector createJAXBIntrospector()
public abstract Marshaller createMarshaller() throws JAXBException
JAXBExceptionpublic abstract Unmarshaller createUnmarshaller() throws JAXBException
JAXBExceptionpublic abstract Validator createValidator() throws JAXBException
JAXBExceptionpublic void generateSchema(SchemaOutputResolver resolver) throws IOException
IOExceptionpublic static JAXBContext newInstance(Class... classesToBeBound) throws JAXBException
JAXBExceptionpublic static JAXBContext newInstance(Class[] classesToBeBound, Map<String,?> properties) throws JAXBException
JAXBExceptionpublic static JAXBContext newInstance(String contextPath) throws JAXBException
JAXBExceptionpublic static JAXBContext newInstance(String contextPath, ClassLoader classLoader) throws JAXBException
JAXBExceptionpublic static JAXBContext newInstance(String contextPath, ClassLoader classLoader, Map<String,?> properties) throws JAXBException
JAXBExceptionCopyright © 2013. All Rights Reserved.