no.uio.labmed.util.tree
Interface TreeNodePointerInterface

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
TreePointerInterface
All Known Implementing Classes:
ISTPointer, ObjectTree.ObjectPointer, ObjectTreeAdapter

public interface TreeNodePointerInterface
extends java.lang.Cloneable

A minimal interface for pointing to tree nodes and parsing it's children.


Method Summary
 ChildIterator childIterator()
          Return an iterator to iterate over the children.
 java.lang.Object clone()
          Clone the pointer
 TreeNodeInterface getNode()
          Return node
 boolean hasChildren()
          Return true is node has children
 

Method Detail

getNode

public TreeNodeInterface getNode()
Return node


hasChildren

public boolean hasChildren()
Return true is node has children


childIterator

public ChildIterator childIterator()
Return an iterator to iterate over the children.


clone

public java.lang.Object clone()
Clone the pointer