javax.xml.bind
Class JAXBContext

java.lang.Object
  extended by javax.xml.bind.JAXBContext

public abstract class JAXBContext
extends Object


Field Summary
static String JAXB_CONTEXT_FACTORY
           
 
Constructor Summary
protected JAXBContext()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAXB_CONTEXT_FACTORY

public static final String JAXB_CONTEXT_FACTORY
See Also:
Constant Field Values
Constructor Detail

JAXBContext

protected JAXBContext()
Method Detail

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.