Package com.sun.xml.bind.v2.util
Class DataSourceSource
java.lang.Object
javax.xml.transform.stream.StreamSource
com.sun.xml.bind.v2.util.DataSourceSource
- All Implemented Interfaces:
Source
Source
implementation backed by DataHandler
.
This implementation allows the same Source
to be used
mutliple times.
Source
isn't really pluggable. As a consequence,
this implementation is clunky --- weak against unexpected
usage of the class.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class javax.xml.transform.stream.StreamSource
FEATURE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.xml.transform.stream.StreamSource
getPublicId, getSystemId, isEmpty, setPublicId, setSystemId, setSystemId
-
Constructor Details
-
DataSourceSource
- Throws:
MimeTypeParseException
-
DataSourceSource
- Throws:
MimeTypeParseException
-
-
Method Details
-
setReader
- Overrides:
setReader
in classStreamSource
-
setInputStream
- Overrides:
setInputStream
in classStreamSource
-
getReader
- Overrides:
getReader
in classStreamSource
-
getInputStream
- Overrides:
getInputStream
in classStreamSource
-
getDataSource
-