net.esper.pattern
Class EvalStateNodePrinterVisitor

java.lang.Object
  extended by net.esper.pattern.EvalStateNodePrinterVisitor
All Implemented Interfaces:
EvalStateNodeVisitor

public final class EvalStateNodePrinterVisitor
extends Object
implements EvalStateNodeVisitor

Visitor class for printing out an evaluation state tree where each node is printed indented according to its depth in the tree.


Constructor Summary
EvalStateNodePrinterVisitor()
           
 
Method Summary
 Object visit(EvalStateNode node, Object data)
          Invoked by each child node as part of accepting this visitor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvalStateNodePrinterVisitor

public EvalStateNodePrinterVisitor()
Method Detail

visit

public final Object visit(EvalStateNode node,
                          Object data)
Description copied from interface: EvalStateNodeVisitor
Invoked by each child node as part of accepting this visitor.

Specified by:
visit in interface EvalStateNodeVisitor
Parameters:
node - is the node in the composite tree accepting the visitor
data - is any additional useful to implementations
Returns:
any additional data useful to implementations or null

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com