Package org.vast.swe
Class DataSourceDOM
java.lang.Object
org.vast.swe.DataSourceDOM
- All Implemented Interfaces:
DataSource
,InputStreamProvider
This DataSource allows to extract data from an XML DOM tree and simulate an inputstream so that a low level parser can parse the content using the common DataStreamParser interface.
- Since:
- Feb, 28 2008
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the right input stream from href or inline valuesgetDom()
-
Field Details
-
dom
-
parentElt
-
-
Constructor Details
-
DataSourceDOM
-
-
Method Details
-
getDom
-
getParentElt
-
getDataStream
Gets the right input stream from href or inline values- Specified by:
getDataStream
in interfaceInputStreamProvider
- Returns:
- input stream to read data from
- Throws:
IOException
-