Package org.geotools.filter.expression
Class AbstractExpressionVisitor
- Object
-
- AbstractExpressionVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
public class AbstractExpressionVisitor extends Object implements ExpressionVisitor
Empty "abstract" implementation of ExpressionVisitor. Subclasses should override desired methods.- Author:
- Cory Horner, Refractions Research Inc.
-
-
Constructor Summary
Constructors Constructor Description AbstractExpressionVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(Add expr, Object extraData)
Object
visit(Divide expr, Object extraData)
Object
visit(Function expr, Object extraData)
Object
visit(Literal expr, Object extraData)
Object
visit(Multiply expr, Object extraData)
Object
visit(NilExpression expr, Object extraData)
Used to visit a Expression.NIL, also called fornull
where an expression is expected.Object
visit(PropertyName expr, Object extraData)
Object
visit(Subtract expr, Object extraData)
-
-
-
Method Detail
-
visit
public Object visit(NilExpression expr, Object extraData)
Description copied from interface:ExpressionVisitor
Used to visit a Expression.NIL, also called fornull
where an expression is expected.This is particularly useful when doing data transformations, as an example when using a StyleSymbolizer Expression.NIL can be used to represent the default stroke color.
- Specified by:
visit
in interfaceExpressionVisitor
- Returns:
- implementation specific
-
visit
public Object visit(Add expr, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Divide expr, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Function expr, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Literal expr, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Multiply expr, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(PropertyName expr, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
visit
public Object visit(Subtract expr, Object extraData)
- Specified by:
visit
in interfaceExpressionVisitor
-
-