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