public interface FilterVisitor
Modifier and Type | Method and Description |
---|---|
boolean |
canVisit(ExprNode node)
Checks to see if a node can be visited.
|
List<ExprNode> |
getOrder(BranchNode node,
List<ExprNode> 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.
|
Object |
visit(ExprNode node)
Visits a filter expression AST using a specific visitation order.
|
Object visit(ExprNode node)
node
- the node to visitboolean canVisit(ExprNode node)
node
- the node to be visitedboolean isPrefix()
List<ExprNode> getOrder(BranchNode node, List<ExprNode> children)
node
- the parent branch nodechildren
- the child node arrayCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.