net.sf.jame.core.tree
Class Tree

java.lang.Object
  extended by net.sf.jame.core.tree.Tree
Direct Known Subclasses:
DefaultTree

public class Tree
extends java.lang.Object

Author:
Andrea Medeghini

Constructor Summary
Tree(RootNode rootNode)
          Sets the root.
 
Method Summary
 RootNode getRootNode()
          Returns the root.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tree

public Tree(RootNode rootNode)
Sets the root.

Parameters:
rootNode - the root to set.
Method Detail

getRootNode

public RootNode getRootNode()
Returns the root.

Returns:
the root.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()