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
JAXBException
public abstract Unmarshaller createUnmarshaller() throws JAXBException
JAXBException
public abstract Validator createValidator() throws JAXBException
JAXBException
public void generateSchema(SchemaOutputResolver resolver) throws IOException
IOException
public static JAXBContext newInstance(Class... classesToBeBound) throws JAXBException
JAXBException
public static JAXBContext newInstance(Class[] classesToBeBound, Map<String,?> properties) throws JAXBException
JAXBException
public static JAXBContext newInstance(String contextPath) throws JAXBException
JAXBException
public static JAXBContext newInstance(String contextPath, ClassLoader classLoader) throws JAXBException
JAXBException
public static JAXBContext newInstance(String contextPath, ClassLoader classLoader, Map<String,?> properties) throws JAXBException
JAXBException
Copyright © 2013. All rights reserved.