public class JAXBContextImpl extends JAXBContext
JAXB_CONTEXT_FACTORY
Constructor and Description |
---|
JAXBContextImpl(Class... classes) |
JAXBContextImpl(Map<String,?> properties,
Class... classes) |
Modifier and Type | Method and Description |
---|---|
static JAXBContextImpl |
createContext(Class[] classes,
Map<String,?> properties) |
static JAXBContextImpl |
createContext(String contextPath,
ClassLoader classLoader,
Map<String,?> properties) |
JAXBIntrospector |
createJAXBIntrospector() |
Marshaller |
createMarshaller() |
Unmarshaller |
createUnmarshaller() |
Validator |
createValidator() |
void |
generateSchema(SchemaOutputResolver outputResolver) |
static Class[] |
loadPackageClasses(String contextPath,
ClassLoader classLoader) |
static JAXBContextImpl |
newInstance(Class... classes) |
static JAXBContextImpl |
newInstance(Class[] classes,
Map<String,?> properties) |
static JAXBContext |
newInstance(String contextPath) |
static JAXBContext |
newInstance(String contextPath,
ClassLoader classLoader) |
static JAXBContextImpl |
newInstance(String contextPath,
ClassLoader classLoader,
Map<String,?> properties) |
createBinder, createBinder
public JAXBContextImpl(Class... classes) throws JAXBException
JAXBException
public JAXBContextImpl(Map<String,?> properties, Class... classes) throws JAXBException
JAXBException
public static JAXBContextImpl newInstance(Class... classes) throws JAXBException
JAXBException
public static JAXBContextImpl newInstance(Class[] classes, Map<String,?> properties) throws JAXBException
JAXBException
public static JAXBContextImpl createContext(Class[] classes, 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 JAXBContextImpl newInstance(String contextPath, ClassLoader classLoader, Map<String,?> properties) throws JAXBException
JAXBException
public static JAXBContextImpl createContext(String contextPath, ClassLoader classLoader, Map<String,?> properties) throws JAXBException
JAXBException
public Marshaller createMarshaller() throws JAXBException
createMarshaller
in class JAXBContext
JAXBException
public Unmarshaller createUnmarshaller() throws JAXBException
createUnmarshaller
in class JAXBContext
JAXBException
public JAXBIntrospector createJAXBIntrospector()
createJAXBIntrospector
in class JAXBContext
public void generateSchema(SchemaOutputResolver outputResolver) throws IOException
generateSchema
in class JAXBContext
IOException
public Validator createValidator() throws JAXBException
createValidator
in class JAXBContext
JAXBException
public static Class[] loadPackageClasses(String contextPath, ClassLoader classLoader) throws JAXBException
JAXBException
Copyright © 2007–2017. All rights reserved.