net.sf.infrared.agent.util
Class TestNodeVisitor

java.lang.Object
  extended bynet.sf.infrared.agent.util.TestNodeVisitor
All Implemented Interfaces:
NodeVisitor

public class TestNodeVisitor
extends Object
implements NodeVisitor

Implementation of the NodeVisitor interface


Constructor Summary
TestNodeVisitor()
           
 
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
 String getFlattenedString()
           
 void goingDown()
          Going down to the next level
 void visit(TreeNode node)
          Visiting a node of the tree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNodeVisitor

public TestNodeVisitor()
Method Detail

visit

public void visit(TreeNode node)
Description copied from interface: NodeVisitor
Visiting a node of the tree

Specified by:
visit in interface NodeVisitor
Parameters:
node -

goingDown

public void goingDown()
Description copied from interface: NodeVisitor
Going down to the next level

Specified by:
goingDown in interface NodeVisitor

climbingUp

public void climbingUp()
Description copied from interface: NodeVisitor
Retracing to the previous level

Specified by:
climbingUp in interface NodeVisitor

beginTraversal

public void beginTraversal()
Description copied from interface: NodeVisitor
Called just before the traversal begins

Specified by:
beginTraversal in interface NodeVisitor

endTraversal

public void endTraversal()
Description copied from interface: NodeVisitor
Called after the traversal is complete

Specified by:
endTraversal in interface NodeVisitor

getFlattenedString

public String getFlattenedString()