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
  • 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 class XMLNode
      Returns:
      The root node.