|
Oracle® Application Server XML Java API Reference 10g Release 2 (10.1.2) Part no. B12024-03 September 2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.xml.transform.sax.SAXSource
|
+--javax.xml.bind.util.JAXBSource
JAXP Source implementation that marshals a JAXB-generated object.
This utility class is useful to combine JAXB with other Java/XML technologies.
The user shouldn't call the methods defined in the SAXSource method.
| Field Summary |
| Fields inherited from class javax.xml.transform.sax.SAXSource |
FEATURE |
| Constructor Summary | |
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. | |
| Methods inherited from class javax.xml.transform.sax.SAXSource |
getInputSource, getSystemId, getXMLReader, setInputSource, setSystemId, setXMLReader, sourceToInputSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JAXBSource(JAXBContext context,
java.lang.Object contentObject)
throws JAXBException
Source for the given content object.context - JAXBContext that was used to create contentObject. This context is used to create a new instance of marshaller.contentObject - An instance of a JAXB-generated class, which will be used as a Source (by marshalling it into XML.)
public JAXBSource(Marshaller marshaller,
java.lang.Object contentObject)
throws JAXBException
Source for the given content object.marshaller - A marshaller instance that will be used to marshal contentObject into XML. This must be created from a JAXBContext that was used to build contentObject.contentObject - An instance of a JAXB-generated class, which will be used as a Source (by marshalling it into XML.)
|
Oracle® Application Server XML Java API Reference 10g Release 2 (10.1.2) Part no. B12024-03 September 2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||