API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind. JAXBContext View Source
Author(s)

Since
JAXB1.0
Version
$Revision: 1.23 $ $Date: 2005/08/31 20:57:57 $
Serial
Hierarchy
 Object
      JAXBContext
Implements
Subclasses
Description
publicabstract abstract class JAXBContext
  The JAXBContext class provides the client's entry point to the JAXB API.
Constructors
protected JAXBContext ()
Methods
Hide/Show inherited methods
public Binder<Node> createBinder ()
  Creates a Binder for W3C DOM.
public Binder< T> createBinder (Class< T> domType)
  Creates a Binder object that can be used for associative/in-place unmarshalling/marshalling.
public JAXBIntrospector createJAXBIntrospector ()
  Creates a JAXBIntrospector object that can be used to introspect JAXB objects.
publicabstract Marshaller createMarshaller () throws JAXBException
  Create a Marshaller object that can be used to convert a java content tree into XML data.
publicabstract Unmarshaller createUnmarshaller () throws JAXBException
  Create an Unmarshaller object that can be used to convert XML data into a java content tree.
publicabstract Validator createValidator () throws JAXBException
  Validator has been made optional and deprecated in JAXB 2.0.
public void generateSchema (SchemaOutputResolver outputResolver) throws IOException
  Generates the schema documents for this context.
publicstatic JAXBContext newInstance (Class classesToBeBound) throws JAXBException
  Obtain a new instance of a JAXBContext class.
publicstatic JAXBContext newInstance (Class classesToBeBound, Map<String, Object> properties) throws JAXBException
  Obtain a new instance of a JAXBContext class.
publicstatic JAXBContext newInstance (String contextPath) throws JAXBException
  Obtain a new instance of a JAXBContext class.
publicstatic JAXBContext newInstance (String contextPath, ClassLoader classLoader) throws JAXBException
  Obtain a new instance of a JAXBContext class.
publicstatic JAXBContext newInstance (String contextPath, ClassLoader classLoader, Map<String, Object> properties) throws JAXBException
  Obtain a new instance of a JAXBContext class.
Fields
Hide/Show inherited fields
publicfinalstatic String JAXB_CONTEXT_FACTORY = "javax.xml.bind.context.factory"
The name of the property that contains the name of the class capable of creating new JAXBContext objects.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar