org.exolab.adaptx.xslt.dom

Class Root

Implemented Interfaces:
java.io.Serializable

public class Root
extends org.exolab.adaptx.xslt.dom.ParentNode

A representation of a Root node
Version:
$Revision: 3914 $ $Date: 2003-09-29 21:30:53 +0200 (Mon, 29 Sep 2003) $
Author:
Keith Visco
See Also:
Serialized Form

Field Summary

Fields inherited from class org.exolab.adaptx.xslt.dom.BaseNode

LOCATION_PROPERTY

Fields inherited from class org.exolab.adaptx.xpath.XPathNode

ATTRIBUTE, COMMENT, ELEMENT, NAMESPACE, PI, ROOT, TEXT

Constructor Summary

Root()
Creates a new Root Node

Method Summary

String
getDocumentURI()
Returns the URI for this root node, or null if unknown.
int
getNodeType()
Returns the type of this node.
XPathNode
getRootNode()
Returns the root node.

Methods inherited from class org.exolab.adaptx.xslt.dom.ParentNode

addChild, getFirstChild, getStringValue, hasChildNodes

Methods inherited from class org.exolab.adaptx.xslt.dom.BaseNode

getAttribute, getFirstAttribute, getFirstChild, getFirstNamespace, getLocalName, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNext, getNodeType, getParentNode, getPrevious, getProperty, getRootNode, getStringValue, hasChildNodes, setProperty

Methods inherited from class org.exolab.adaptx.xpath.XPathNode

getAttribute, getFirstAttribute, getFirstChild, getFirstNamespace, getLocalName, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNext, getNodeType, getParentNode, getPrevious, getRootNode, getStringValue, hasChildNodes

Constructor Details

Root

public Root()
Creates a new Root Node

Method Details

getDocumentURI

public String getDocumentURI()
Returns the URI for this root node, or null if unknown.
Returns:
the URI for this root node, or null if unknown.

getNodeType

public int getNodeType()
Returns the type of this node.
Overrides:
getNodeType in interface org.exolab.adaptx.xslt.dom.BaseNode
Returns:
The type of this node

getRootNode

public XPathNode getRootNode()
Returns the root node.
Overrides:
getRootNode in interface org.exolab.adaptx.xslt.dom.BaseNode
Returns:
The root node