- 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.JAXBSource Class
Introduction
The javax.xml.bind.Util.JAXBSource class utility is useful to combine JAXB with other Java/XML technologies.This is the JAXP Source implementation that marshals a JAXB-generated object.
Class declaration
Following is the declaration for javax.xml.bind.Util.JAXBSource class −
public class JAXBSource extends SAXSource
Field
Following are the fields for javax.xml.bind.Util.JAXBSource class −
static String FEATURE − If TransformerFactory.getFeature(java.lang.String) returns true when passed this value as an argument, the Transformer supports Source input of this type.
Class constructors
S.N. | Constructor & Description |
---|---|
1 | JAXBSource(JAXBContext context, Object contentObject) This creates a new Source for the given content object. |
2 | JAXBSource(Marshaller marshaller, Object contentObject) This creates a new Source for the given content object. |
Class methods
This class inherits methods from the following classes −
- javax.xml.transform.sax.SAXResult
- java.lang.object