org.castor.xmlctf.xmldiff.xml.nodes
Class Root

java.lang.Object
  extended by org.castor.xmlctf.xmldiff.xml.nodes.XMLNode
      extended by org.castor.xmlctf.xmldiff.xml.nodes.ParentNode
          extended by org.castor.xmlctf.xmldiff.xml.nodes.Root

public class Root
extends ParentNode

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
 
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, getXPath, setNamespace, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Root

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

Method Detail

getRootNode

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

Overrides:
getRootNode in class XMLNode
Returns:
The root node.


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