wt.util.xml.xslt
Class DOMXMLSourceImpl

java.lang.Object
  extended bywt.util.xml.xslt.XMLSourceImpl
      extended bywt.util.xml.xslt.DOMXMLSourceImpl
All Implemented Interfaces:
DOMXMLSource, XMLSource

final class DOMXMLSourceImpl
extends XMLSourceImpl
implements DOMXMLSource

Minimalistic implementation of DOMXMLSource


Field Summary
private  Node node
           
 
Constructor Summary
(package private) DOMXMLSourceImpl(Node node)
           
(package private) DOMXMLSourceImpl(Node node, String baseURI)
           
 
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
 
Methods inherited from interface wt.util.xml.xslt.XMLSource
getBaseURI
 

Field Detail

node

private Node node
Constructor Detail

DOMXMLSourceImpl

DOMXMLSourceImpl(Node node)

DOMXMLSourceImpl

DOMXMLSourceImpl(Node node,
                 String baseURI)
Method Detail

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