java.lang.Object | ||
↳ | javax.xml.transform.sax.SAXSource | |
↳ | org.springframework.oxm.support.MarshallingSource |
Source
implementation that uses a Marshaller
.Can be constructed with a
Marshaller
and an object to be marshalled.
Even though MarshallingSource
extends from SAXSource
, calling the methods of
SAXSource
is not supported. In general, the only supported operation on this class is
to use the XMLReader
obtained via getXMLReader()
to parse the input source obtained via getInputSource()
. Calling setXMLReader(XMLReader)
or setInputSource(InputSource)
will result in
UnsupportedOperationException
s.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.xml.transform.sax.SAXSource
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new
MarshallingSource with the given marshaller and content. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the object to be marshalled.
| |||||||||||
Return the
Marshaller used by this MarshallingSource . | |||||||||||
Throws a
UnsupportedOperationException . | |||||||||||
Throws a
UnsupportedOperationException . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.xml.transform.sax.SAXSource
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.xml.transform.Source
|
Create a new MarshallingSource
with the given marshaller and content.
marshaller | the marshaller to use |
---|---|
content | the object to be marshalled |