org.castor.xmlctf.xmldiff.xml.nodes

Class Root


public class Root
extends ParentNode

A representation of a Root node.
Version:
$Revision: 0000 $ $Date: 2007-01-11 00:00:00 -0600 (Thu, 11 Jan 2007) $
Author:
Edward Kuns
Since:
Castor 1.1

Field Summary

Fields inherited from class org.castor.xmlctf.xmldiff.xml.nodes.XMLNode

ATTRIBUTE, ELEMENT, PROCESSING_INSTRUCTION, ROOT, TEXT

Constructor Summary

Root()
Creates a new Root Node.

Method Summary

XMLNode
getRootNode()
Returns the root node, i.e., this.

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, getRootNode, getStringValue, getXPath, setNamespace, setParent

Constructor Details

Root

public Root()
Creates a new Root Node. Basically, a root node can contain only Elements and nothing else.

Method Details

getRootNode

public XMLNode getRootNode()
Returns the root node, i.e., this.
Overrides:
getRootNode in interface XMLNode
Returns:
The root node.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com