|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.pattern.EvalStateNode
public abstract class EvalStateNode
Superclass of all state nodes in an evaluation node tree representing an event expressions. Follows the Composite pattern. Subclasses are expected to keep their own collection containing child nodes as needed.
Method Summary | |
---|---|
protected abstract Object |
accept(EvalStateNodeVisitor visitor,
Object data)
Accept a visitor. |
abstract Object |
childrenAccept(EvalStateNodeVisitor visitor,
Object data)
Pass the visitor to all child nodes. |
protected abstract void |
quit()
Stops the event expression or an instance of it. |
protected abstract void |
start()
Starts the event expression or an instance of it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
protected abstract void start()
protected abstract void quit()
protected abstract Object accept(EvalStateNodeVisitor visitor, Object data)
visitor
- on which the visit method is invoked by each nodedata
- any additional data the visitor may need is passed in this parameter
public abstract Object childrenAccept(EvalStateNodeVisitor visitor, Object data)
visitor
- is the instance to be passed to all child nodesdata
- any additional data the visitor may need is passed in this parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |