|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of JAXBException in javax.xml.bind |
---|
Subclasses of JAXBException in javax.xml.bind | |
---|---|
class |
MarshalException
This exception indicates that an error has occurred 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 occurred while performing an unmarshal operation that prevents the JAXB Provider from completing the operation. |
class |
ValidationException
This exception indicates that an error has occurred while performing a validate operation. |
Methods in javax.xml.bind that throw JAXBException | ||
---|---|---|
abstract Marshaller |
JAXBContext.createMarshaller()
Create a Marshaller object that can be used to convert a java content tree into XML data. |
|
abstract Unmarshaller |
JAXBContext.createUnmarshaller()
Create an Unmarshaller object that can be used to convert XML data into a java content tree. |
|
abstract Validator |
JAXBContext.createValidator()
Deprecated. since JAXB2.0 |
|
ValidationEventHandler |
Marshaller.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set. |
|
ValidationEventHandler |
Validator.getEventHandler()
Deprecated. since JAXB2.0 |
|
ValidationEventHandler |
Unmarshaller.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set. |
|
abstract ValidationEventHandler |
Binder.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set. |
|
org.w3c.dom.Node |
Marshaller.getNode(java.lang.Object contentTree)
Get a DOM tree view of the content tree(Optional). |
|
java.lang.Object |
UnmarshallerHandler.getResult()
Obtains the unmarshalled result. |
|
boolean |
Unmarshaller.isValidating()
Deprecated. since JAXB2.0, please see Unmarshaller.getSchema() |
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
org.xml.sax.ContentHandler handler)
Marshal the content tree rooted at jaxbElement into SAX2 events. |
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
java.io.File output)
Marshal the content tree rooted at jaxbElement into a file. |
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
org.w3c.dom.Node node)
Marshal the content tree rooted at jaxbElement into a DOM tree. |
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
java.io.OutputStream os)
Marshal the content tree rooted at jaxbElement into an output stream. |
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
javax.xml.transform.Result result)
Marshal the content tree rooted at jaxbElement into the specified javax.xml.transform.Result. |
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
java.io.Writer writer)
Marshal the content tree rooted at jaxbElement into a Writer. |
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
javax.xml.stream.XMLEventWriter writer)
Marshal the content tree rooted at jaxbElement into a XMLEventWriter . |
|
abstract void |
Binder.marshal(java.lang.Object jaxbObject,
XmlNode xmlNode)
Marshal a JAXB object tree to a new XML document. |
|
void |
Marshaller.marshal(java.lang.Object jaxbElement,
javax.xml.stream.XMLStreamWriter writer)
Marshal the content tree rooted at jaxbElement into a XMLStreamWriter . |
|
static JAXBContext |
JAXBContext.newInstance(java.lang.Class... classesToBeBound)
Obtain a new instance of a JAXBContext class. |
|
static JAXBContext |
JAXBContext.newInstance(java.lang.Class[] classesToBeBound,
java.util.Map<java.lang.String,?> properties)
Obtain a new instance of a JAXBContext class. |
|
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. |
|
static JAXBContext |
JAXBContext.newInstance(java.lang.String contextPath,
java.lang.ClassLoader classLoader,
java.util.Map<java.lang.String,?> properties)
Obtain a new instance of a JAXBContext class. |
|
void |
Marshaller.setEventHandler(ValidationEventHandler handler)
Allow an application to register a validation event handler. |
|
void |
Validator.setEventHandler(ValidationEventHandler handler)
Deprecated. since JAXB2.0 |
|
void |
Unmarshaller.setEventHandler(ValidationEventHandler handler)
Allow an application to register a ValidationEventHandler. |
|
abstract void |
Binder.setEventHandler(ValidationEventHandler handler)
Allow an application to register a ValidationEventHandler. |
|
void |
Unmarshaller.setValidating(boolean validating)
Deprecated. since JAXB2.0, please see Unmarshaller.setSchema(javax.xml.validation.Schema) |
|
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(org.xml.sax.InputSource source)
Unmarshal XML data from the specified SAX InputSource 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(org.w3c.dom.Node node)
Unmarshal global XML data from the specified DOM tree and return the resulting content tree. |
|
|
Unmarshaller.unmarshal(org.w3c.dom.Node node,
java.lang.Class<T> declaredType)
Unmarshal XML data by JAXB mapped declaredType and return the resulting content tree. |
|
java.lang.Object |
Unmarshaller.unmarshal(java.io.Reader reader)
Unmarshal XML data from the specified Reader 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. |
|
|
Unmarshaller.unmarshal(javax.xml.transform.Source source,
java.lang.Class<T> declaredType)
Unmarshal XML data from the specified XML Source by declaredType 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(javax.xml.stream.XMLEventReader reader)
Unmarshal XML data from the specified pull parser and return the resulting content tree. |
|
|
Unmarshaller.unmarshal(javax.xml.stream.XMLEventReader reader,
java.lang.Class<T> declaredType)
Unmarshal root element to JAXB mapped declaredType and return the resulting content tree. |
|
abstract java.lang.Object |
Binder.unmarshal(XmlNode xmlNode)
Unmarshal XML infoset view to a JAXB object tree. |
|
abstract
|
Binder.unmarshal(XmlNode xmlNode,
java.lang.Class<T> declaredType)
Unmarshal XML root element by provided declaredType to a JAXB object tree. |
|
java.lang.Object |
Unmarshaller.unmarshal(javax.xml.stream.XMLStreamReader reader)
Unmarshal XML data from the specified pull parser and return the resulting content tree. |
|
|
Unmarshaller.unmarshal(javax.xml.stream.XMLStreamReader reader,
java.lang.Class<T> declaredType)
Unmarshal root element to JAXB mapped declaredType and return the resulting content tree. |
|
abstract java.lang.Object |
Binder.updateJAXB(XmlNode xmlNode)
Takes an XML node and updates its associated JAXB object and its descendants. |
|
abstract XmlNode |
Binder.updateXML(java.lang.Object jaxbObject)
Takes an JAXB object and updates its associated XML node and its descendants. |
|
abstract XmlNode |
Binder.updateXML(java.lang.Object jaxbObject,
XmlNode xmlNode)
Changes in JAXB object tree are updated in its associated XML parse tree. |
|
boolean |
Validator.validate(java.lang.Object subrootObj)
Deprecated. since JAXB2.0 |
|
boolean |
Validator.validateRoot(java.lang.Object rootObj)
Deprecated. since JAXB2.0 |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |