wt.util.xml.xslt
Class StreamXMLSourceImpl
java.lang.Object
wt.util.xml.xslt.XMLSourceImpl
wt.util.xml.xslt.StreamXMLSourceImpl
- All Implemented Interfaces:
- StreamXMLSource, XMLSource
- final class StreamXMLSourceImpl
- extends XMLSourceImpl
- implements StreamXMLSource
Minimalistic implementation of StreamXMLSource
Method Summary |
String |
getBaseURI()
The URI describing the location of the XML data, up to, but not including
the file part of the URI. |
InputStream |
getInputStream()
The input stream that can be read to get the XML data in byte form. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputStream
private InputStream inputStream
StreamXMLSourceImpl
StreamXMLSourceImpl(InputStream inputStream)
StreamXMLSourceImpl
StreamXMLSourceImpl(InputStream inputStream,
String baseURI)
getInputStream
public InputStream getInputStream()
throws IOException
- Description copied from interface:
StreamXMLSource
- The input stream that can be read to get the XML data in byte form.
Supported API: true
- Specified by:
getInputStream
in interface StreamXMLSource
- Returns:
- InputStream
- Throws:
IOException
getBaseURI
public String getBaseURI()
- Description copied from interface:
XMLSource
- The URI describing the location of the XML data, up to, but not including
the file part of the URI. For example, the base URI for data sourced
at
http://www.acme.com/documents/Document1.xml
would
be http://www.acme.com/documents
.
Supported API: true
- Specified by:
getBaseURI
in interface XMLSource
- Returns:
- String