javax.xml.bind
Class JAXBContext
java.lang.Object
javax.xml.bind.JAXBContext
public abstract class JAXBContext
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXB_CONTEXT_FACTORY
public static final String JAXB_CONTEXT_FACTORY
- See Also:
- Constant Field Values
JAXBContext
protected JAXBContext()
createBinder
public Binder<Node> createBinder()
createBinder
public <T> Binder<T> createBinder(Class<T> domType)
createJAXBIntrospector
public JAXBIntrospector createJAXBIntrospector()
createMarshaller
public abstract Marshaller createMarshaller()
throws JAXBException
- Throws:
JAXBException
createUnmarshaller
public abstract Unmarshaller createUnmarshaller()
throws JAXBException
- Throws:
JAXBException
createValidator
public abstract Validator createValidator()
throws JAXBException
- Throws:
JAXBException
generateSchema
public void generateSchema(SchemaOutputResolver resolver)
throws IOException
- Throws:
IOException
newInstance
public static JAXBContext newInstance(Class... classesToBeBound)
throws JAXBException
- Throws:
JAXBException
newInstance
public static JAXBContext newInstance(Class[] classesToBeBound,
Map<String,?> properties)
throws JAXBException
- Throws:
JAXBException
newInstance
public static JAXBContext newInstance(String contextPath)
throws JAXBException
- Throws:
JAXBException
newInstance
public static JAXBContext newInstance(String contextPath,
ClassLoader classLoader)
throws JAXBException
- Throws:
JAXBException
newInstance
public static JAXBContext newInstance(String contextPath,
ClassLoader classLoader,
Map<String,?> properties)
throws JAXBException
- Throws:
JAXBException
Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.