|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilterVisitor
Filter expression tree node visitor interface. Note that this is a variation of the extrinsic visitor variation. It has the following advantages over the standard visitor pattern:
Method Summary | |
---|---|
boolean |
canVisit(ExprNode a_node)
Checks to see if a node can be visited. |
ArrayList |
getOrder(BranchNode node,
ArrayList a_children)
Get the array of children to visit sequentially to determine the order of child visitations. |
boolean |
isPrefix()
Determines whether the visitation order is prefix or postfix. |
void |
visit(ExprNode a_node)
Visits a filter expression AST using a specific visitation order. |
Method Detail |
---|
void visit(ExprNode a_node)
a_node
- the node to visitboolean canVisit(ExprNode a_node)
a_node
- the node to be visited
boolean isPrefix()
ArrayList getOrder(BranchNode node, ArrayList a_children)
node
- the parent branch nodea_children
- the child node array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |