Class Root
java.lang.Object
org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
org.castor.xmlctf.xmldiff.xml.nodes.ParentNode
org.castor.xmlctf.xmldiff.xml.nodes.Root
A representation of a Root node.
- Since:
- Castor 1.1
- Version:
- $Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
- Author:
- Edward Kuns
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.castor.xmlctf.xmldiff.xml.nodes.ParentNode
addChild, getChildIterator, getStringValue, hasChildNodes
Methods inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
getLocalName, getNamespaceURI, getNamespaceURI, getNodeLocation, getNodeType, getParentNode, getXPath, setNamespace
-
Constructor Details
-
Root
public Root()Creates a new Root Node. Basically, a root node can contain only Elements and nothing else.
-
-
Method Details
-
getRootNode
Returns the root node, i.e.,this
.- Overrides:
getRootNode
in classXMLNode
- Returns:
- The root node.
-