net.sf.infrared.agent.util
Interface NodeVisitor

All Known Implementing Classes:
NodeVisitorImpl, TestNodeVisitor

public interface NodeVisitor

Interface that defines method for Tree Node Traversal.


Method Summary
 void beginTraversal()
          Called just before the traversal begins
 void climbingUp()
          Retracing to the previous level
 void endTraversal()
          Called after the traversal is complete
 void goingDown()
          Going down to the next level
 void visit(TreeNode node)
          Visiting a node of the tree
 

Method Detail

visit

public void visit(TreeNode node)
Visiting a node of the tree

Parameters:
node -

goingDown

public void goingDown()
Going down to the next level


climbingUp

public void climbingUp()
Retracing to the previous level


beginTraversal

public void beginTraversal()
Called just before the traversal begins


endTraversal

public void endTraversal()
Called after the traversal is complete