wt.util.xml.xslt
Class ReaderXMLSourceImpl
java.lang.Object
wt.util.xml.xslt.XMLSourceImpl
wt.util.xml.xslt.ReaderXMLSourceImpl
- All Implemented Interfaces:
- ReaderXMLSource, XMLSource
- final class ReaderXMLSourceImpl
- extends XMLSourceImpl
- implements ReaderXMLSource
Minimalistic implementation of ReaderXMLSource
Method Summary |
String |
getBaseURI()
The URI describing the location of the XML data, up to, but not including
the file part of the URI. |
Reader |
getReader()
The reader that can be read to get the XML data in character form. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
private Reader reader
ReaderXMLSourceImpl
ReaderXMLSourceImpl(Reader reader)
ReaderXMLSourceImpl
ReaderXMLSourceImpl(Reader reader,
String baseURI)
getReader
public Reader getReader()
throws IOException
- Description copied from interface:
ReaderXMLSource
- The reader that can be read to get the XML data in character form.
Supported API: true
- Specified by:
getReader
in interface ReaderXMLSource
- Returns:
- Reader
- 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