|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.visitor.AbstractFilterVisitor
A basic implementation of the FilterVisitor interface.
This class implements the full FilterVisitor interface and will visit every member of a Filter object. This class performs no actions and is not intended to be used directly, instead extend it and overide the methods for the expression types you are interested in. Remember to call the super method if you want to ensure that the entier filter tree is still visited.
You may still need to implement FilterVisitor directly if the visit order set out in this class does not meet your needs. This class visits in sequence i.e. Left - Middle - Right for all expressions which have sub-expressions.
Constructor Summary | |
AbstractFilterVisitor()
Empty constructor |
Method Summary | |
void |
visit(AttributeExpression expression)
Called when accept is called on an attribute expression. |
void |
visit(BetweenFilter filter)
Called when accept is called on a BetweenFilter. |
void |
visit(CompareFilter filter)
Called when accept is called on a Compare Filter. |
void |
visit(Expression expression)
This should never be called. |
void |
visit(FidFilter filter)
Called when accept is called on a Fid Filter. |
void |
visit(Filter filter)
Called when accept is called on an AbstractFilter. |
void |
visit(FunctionExpression expression)
Called when accept is called on an function expression. |
void |
visit(GeometryFilter filter)
Called when accept is called on a Geometry Filter. |
void |
visit(LikeFilter filter)
Called when accept is called on a Like Filter. |
void |
visit(LiteralExpression expression)
Called when accept is called on a literal expression. |
void |
visit(LogicFilter filter)
Called when accept is called on a Logic Filter. |
void |
visit(MathExpression expression)
Called when accept is called on an math expression. |
void |
visit(NullFilter filter)
Called when accept is called on a Null Filter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractFilterVisitor()
Method Detail |
public void visit(Filter filter)
FilterVisitor
visit
in interface FilterVisitor
filter
- The filter to visitFilterVisitor.visit(org.geotools.filter.Filter)
public void visit(BetweenFilter filter)
FilterVisitor
visit
in interface FilterVisitor
filter
- The filter to visitFilterVisitor.visit(org.geotools.filter.BetweenFilter)
public void visit(CompareFilter filter)
FilterVisitor
visit
in interface FilterVisitor
filter
- The filter to visitFilterVisitor.visit(org.geotools.filter.CompareFilter)
public void visit(GeometryFilter filter)
FilterVisitor
visit
in interface FilterVisitor
filter
- The filter to visitFilterVisitor.visit(org.geotools.filter.GeometryFilter)
public void visit(LikeFilter filter)
FilterVisitor
visit
in interface FilterVisitor
filter
- The filter to visit.FilterVisitor.visit(org.geotools.filter.LikeFilter)
public void visit(LogicFilter filter)
FilterVisitor
visit
in interface FilterVisitor
filter
- The filter to visit.FilterVisitor.visit(org.geotools.filter.LogicFilter)
public void visit(NullFilter filter)
FilterVisitor
visit
in interface FilterVisitor
filter
- The filter to visit.FilterVisitor.visit(org.geotools.filter.NullFilter)
public void visit(FidFilter filter)
FilterVisitor
visit
in interface FilterVisitor
filter
- The filter to visit.FilterVisitor.visit(org.geotools.filter.FidFilter)
public void visit(AttributeExpression expression)
FilterVisitor
visit
in interface FilterVisitor
expression
- The expression to visit.FilterVisitor.visit(org.geotools.filter.expression.AttributeExpression)
public void visit(Expression expression)
FilterVisitor
visit
in interface FilterVisitor
expression
- the expression to visit.FilterVisitor.visit(org.geotools.filter.expression.Expression)
public void visit(LiteralExpression expression)
FilterVisitor
visit
in interface FilterVisitor
expression
- The expression to visit.FilterVisitor.visit(org.geotools.filter.expression.LiteralExpression)
public void visit(MathExpression expression)
FilterVisitor
visit
in interface FilterVisitor
expression
- The expression to visit.FilterVisitor.visit(org.geotools.filter.expression.MathExpression)
public void visit(FunctionExpression expression)
FilterVisitor
visit
in interface FilterVisitor
expression
- The expression to visit.FilterVisitor.visit(org.geotools.filter.expression.FunctionExpression)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |