wt.util.xml.xslt
Class DOMXMLSourceImpl
java.lang.Object
wt.util.xml.xslt.XMLSourceImpl
wt.util.xml.xslt.DOMXMLSourceImpl
- All Implemented Interfaces:
- DOMXMLSource, XMLSource
- final class DOMXMLSourceImpl
- extends XMLSourceImpl
- implements DOMXMLSource
Minimalistic implementation of DOMXMLSource
Method Summary |
String |
getBaseURI()
The URI describing the location of the XML data, up to, but not including
the file part of the URI. |
Node |
getNode()
The top-most node in the XML data source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
node
private Node node
DOMXMLSourceImpl
DOMXMLSourceImpl(Node node)
DOMXMLSourceImpl
DOMXMLSourceImpl(Node node,
String baseURI)
getNode
public Node getNode()
throws SAXException
- Description copied from interface:
DOMXMLSource
- The top-most node in the XML data source.
Supported API: true
- Specified by:
getNode
in interface DOMXMLSource
- Returns:
- Node
- Throws:
SAXException
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