- Javax.xml.bind classes
- Home
- Binder
- DatatypeConverter
- JAXB
- JAXBContext
- JAXBElement
- JAXBElement.GlobalScope
- JAXBIntrospector
- Marshaller.Listener
- SchemaOutputResolver
- Unmarshaller.Listener
- Javax.xml.bind.util classes
- JAXBResult
- JAXBSource
- ValidationEventCollector
- Javax.xml.parsers classes
- DocumentBuilder
- DocumentBuilderFactory
- SAXParser
- SAXParserFactory
- Javax.xml.soap classes
- AttachmentPart
- MessageFactory
- MimeHeader
- MimeHeaders
- SAAJMetaFactory
- SOAPConnection
- SOAPConnectionFactory
- SOAPFactory
- SOAPMessage
- SOAPPart
- Javax.xml.validation classes
- Schema
- SchemaFactory
- TypeInfoProvider
- Validator
- ValidatorHandler
- Javax.xml.xpath classes
- XPathConstants
- XPathFactory
- Java Useful Resources
- Java - Quick Guide
- Java - Useful Resources
Javax.xml.bind.Util.JAXBResult Class
Introduction
The javax.xml.bind.Util.JAXBResult class utility is useful to combine JAXB with other Java/XML technologies.This is the JAXP Result implementation that unmarshals a JAXB object.
Class declaration
Following is the declaration for javax.xml.bind.Util.JAXBResult class −
public class JAXBResult extends SAXResult
Field
Following are the fields for javax.xml.bind.Util.JAXBResult class −
static String FEATURE − If TransformerFactory.getFeature(java.lang.String) returns true when passed this value as an argument, the Transformer supports Result output of this type.
static String PI_DISABLE_OUTPUT_ESCAPING − This is the name of the processing instruction that is sent if the result tree disables output escaping.
static String PI_ENABLE_OUTPUT_ESCAPING − This is the name of the processing instruction that is sent if the result tree enables output escaping at some point after having received a PI_DISABLE_OUTPUT_ESCAPING processing instruction.
Class constructors
S.N. | Constructor & Description |
---|---|
1 | JAXBResult(JAXBContext context)
This creates a new instance that uses the specified JAXBContext to unmarshal. |
2 | JAXBResult(Unmarshaller _unmarshaller)
This creates a new instance that uses the specified Unmarshaller to unmarshal an object. |
Class methods
S.N. | Method & Description |
---|---|
1 | Object getResult()
This method gets the unmarshalled object created by the transformation. |
Methods inherited
This class inherits methods from the following classes −
javax.xml.transform.sax.SAXResult
java.lang.object