com.sun.xml.bind.v2.util
public final class DataSourceSource extends StreamSource
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.
| Constructor Summary | |
|---|---|
| DataSourceSource(DataHandler dh) | |
| DataSourceSource(DataSource source) | |
| Method Summary | |
|---|---|
| DataSource | getDataSource() |
| InputStream | getInputStream() |
| Reader | getReader() |
| void | setInputStream(InputStream inputStream) |
| void | setReader(Reader reader) |