Uses of Class
javax.xml.bind.JAXBException

Packages that use JAXBException
javax.xml.bind Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.  
javax.xml.bind.helpers JAXB Provider Use Only: Provides partial default implementations for some of the javax.xml.bind interfaces.  
javax.xml.bind.util Useful client utility classes.  
 

Uses of JAXBException in javax.xml.bind
 

Subclasses of JAXBException in javax.xml.bind
 class MarshalException
          This exception indicates that an error has occured while performing a marshal operation that the provider is unable to recover from.
 class PropertyException
          This exception indicates that an error was encountered while getting or setting a property.
 class UnmarshalException
          This exception indicates that an error has occured while performing an unmarshal operation that prevents the JAXB Provider from completing the operation.
 class ValidationException
          This exception indicates that an error has occured while performing a validate operation.
 

Methods in javax.xml.bind that throw JAXBException
 void Validator.setEventHandler(ValidationEventHandler handler)
          Allow an application to register a validation event handler.
 ValidationEventHandler Validator.getEventHandler()
          Return the current event handler or the default event handler if one hasn't been set.
 boolean Validator.validate(java.lang.Object subrootObj)
          Validate the Java content tree starting at subrootObj.
 boolean Validator.validateRoot(java.lang.Object rootObj)
          Validate the Java content tree rooted at rootObj.
 java.lang.Object UnmarshallerHandler.getResult()
          Obtains the unmarshalled result.
 java.lang.Object Unmarshaller.unmarshal(java.io.File f)
          Unmarshal XML data from the specified file and return the resulting content tree.
 java.lang.Object Unmarshaller.unmarshal(java.io.InputStream is)
          Unmarshal XML data from the specified InputStream and return the resulting content tree.
 java.lang.Object Unmarshaller.unmarshal(java.net.URL url)
          Unmarshal XML data from the specified URL and return the resulting content tree.
 java.lang.Object Unmarshaller.unmarshal(org.xml.sax.InputSource source)
          Unmarshal XML data from the specified SAX InputSource and return the resulting content tree.
 java.lang.Object Unmarshaller.unmarshal(org.w3c.dom.Node node)
          Unmarshal XML data from the specified DOM tree and return the resulting content tree.
 java.lang.Object Unmarshaller.unmarshal(javax.xml.transform.Source source)
          Unmarshal XML data from the specified XML Source and return the resulting content tree.
 void Unmarshaller.setValidating(boolean validating)
          Specifies whether or not the default validation mechanism of the Unmarshaller should validate during unmarshal operations.
 boolean Unmarshaller.isValidating()
          Indicates whether or not the Unmarshaller is configured to validate during unmarshal operations.
 void Unmarshaller.setEventHandler(ValidationEventHandler handler)
          Allow an application to register a ValidationEventHandler.
 ValidationEventHandler Unmarshaller.getEventHandler()
          Return the current event handler or the default event handler if one hasn't been set.
 void Marshaller.marshal(java.lang.Object obj, javax.xml.transform.Result result)
          Marshal the content tree rooted at obj into the specified javax.xml.transform.Result.
 void Marshaller.marshal(java.lang.Object obj, java.io.OutputStream os)
          Marshal the content tree rooted at obj into an output stream.
 void Marshaller.marshal(java.lang.Object obj, java.io.Writer writer)
          Marshal the content tree rooted at obj into a Writer.
 void Marshaller.marshal(java.lang.Object obj, org.xml.sax.ContentHandler handler)
          Marshal the content tree rooted at obj into SAX2 events.
 void Marshaller.marshal(java.lang.Object obj, org.w3c.dom.Node node)
          Marshal the content tree rooted at obj into a DOM tree.
 org.w3c.dom.Node Marshaller.getNode(java.lang.Object contentTree)
          Get a DOM tree view of the content tree(Optional).
 void Marshaller.setEventHandler(ValidationEventHandler handler)
          Allow an application to register a validation event handler.
 ValidationEventHandler Marshaller.getEventHandler()
          Return the current event handler or the default event handler if one hasn't been set.
static JAXBContext JAXBContext.newInstance(java.lang.String contextPath)
           Obtain a new instance of a JAXBContext class.
static JAXBContext JAXBContext.newInstance(java.lang.String contextPath, java.lang.ClassLoader classLoader)
           Obtain a new instance of a JAXBContext class.
abstract  Unmarshaller JAXBContext.createUnmarshaller()
          Create an Unmarshaller object that can be used to convert XML data into a java content tree.
abstract  Marshaller JAXBContext.createMarshaller()
          Create a Marshaller object that can be used to convert a java content tree into XML data.
abstract  Validator JAXBContext.createValidator()
          Create a Validator object that can be used to validate a java content tree against its source schema.
 

Uses of JAXBException in javax.xml.bind.helpers
 

Methods in javax.xml.bind.helpers that throw JAXBException
protected  org.xml.sax.XMLReader AbstractUnmarshallerImpl.getXMLReader()
          Obtains a configured XMLReader.
 java.lang.Object AbstractUnmarshallerImpl.unmarshal(javax.xml.transform.Source source)
           
protected abstract  java.lang.Object AbstractUnmarshallerImpl.unmarshal(org.xml.sax.XMLReader reader, org.xml.sax.InputSource source)
          Unmarshals an object by using the specified XMLReader and the InputSource.
 java.lang.Object AbstractUnmarshallerImpl.unmarshal(org.xml.sax.InputSource source)
           
 java.lang.Object AbstractUnmarshallerImpl.unmarshal(java.net.URL url)
           
 java.lang.Object AbstractUnmarshallerImpl.unmarshal(java.io.File f)
           
 java.lang.Object AbstractUnmarshallerImpl.unmarshal(java.io.InputStream is)
           
 boolean AbstractUnmarshallerImpl.isValidating()
          Indicates whether or not the Unmarshaller is configured to validate during unmarshal operations.
 void AbstractUnmarshallerImpl.setEventHandler(ValidationEventHandler handler)
          Allow an application to register a validation event handler.
 void AbstractUnmarshallerImpl.setValidating(boolean validating)
          Specifies whether or not the Unmarshaller should validate during unmarshal operations.
 ValidationEventHandler AbstractUnmarshallerImpl.getEventHandler()
          Return the current event handler or the default event handler if one hasn't been set.
 void AbstractMarshallerImpl.marshal(java.lang.Object obj, java.io.OutputStream os)
           
 void AbstractMarshallerImpl.marshal(java.lang.Object obj, java.io.Writer w)
           
 void AbstractMarshallerImpl.marshal(java.lang.Object obj, org.xml.sax.ContentHandler handler)
           
 void AbstractMarshallerImpl.marshal(java.lang.Object obj, org.w3c.dom.Node node)
           
 org.w3c.dom.Node AbstractMarshallerImpl.getNode(java.lang.Object obj)
          By default, the getNode method is unsupported and throw an UnsupportedOperationException.
 ValidationEventHandler AbstractMarshallerImpl.getEventHandler()
           
 void AbstractMarshallerImpl.setEventHandler(ValidationEventHandler handler)
           
 

Uses of JAXBException in javax.xml.bind.util
 

Methods in javax.xml.bind.util that throw JAXBException
 java.lang.Object JAXBResult.getResult()
          Gets the unmarshalled object created by the transformation.
 

Constructors in javax.xml.bind.util that throw JAXBException
JAXBSource(JAXBContext context, java.lang.Object contentObject)
          Creates a new Source for the given content object.
JAXBSource(Marshaller marshaller, java.lang.Object contentObject)
          Creates a new Source for the given content object.
JAXBResult(JAXBContext context)
          Creates a new instance that uses the specified JAXBContext to unmarshal.
JAXBResult(Unmarshaller _unmarshaller)
          Creates a new instance that uses the specified Unmarshaler to unmarshal an object.
 



Copyright © 2011 Oracle Corporation. All Rights Reserved.