net.esper.pattern
Class EvalStateNodePrinterVisitor
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvalStateNodePrinterVisitor
public EvalStateNodePrinterVisitor()
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 visitordata
- is any additional useful to implementations
- Returns:
- any additional data useful to implementations or null