|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.expression.ExpressionAbstract org.geotools.filter.DefaultExpression org.geotools.filter.FunctionExpressionImpl
Abstract class for a function expression implementation
Field Summary |
Fields inherited from class org.geotools.filter.DefaultExpression |
expressionType, permissiveConstruction |
Fields inherited from interface org.geotools.filter.expression.ExpressionType |
ATTRIBUTE, ATTRIBUTE_DOUBLE, ATTRIBUTE_GEOMETRY, ATTRIBUTE_INTEGER, ATTRIBUTE_STRING, ATTRIBUTE_UNDECLARED, FUNCTION, LITERAL_DOUBLE, LITERAL_GEOMETRY, LITERAL_INTEGER, LITERAL_STRING, MATH_ADD, MATH_DIVIDE, MATH_MULTIPLY, MATH_SUBTRACT |
Constructor Summary | |
protected |
FunctionExpressionImpl()
Creates a new instance of FunctionExpression |
Method Summary | |
java.lang.Object |
accept(org.opengis.filter.expression.ExpressionVisitor visitor,
java.lang.Object extraData)
Subclass should override, default implementation just returns extraData |
abstract int |
getArgCount()
Gets the number of arguments that are set. |
Expression[] |
getArgs()
Deprecated. use getParameters() . |
java.util.Map |
getImplementationHints()
Returns the implementation hints. |
java.lang.String |
getName()
Gets the name of this function. |
java.util.List |
getParameters()
Returns the function parameters. |
short |
getType()
Gets the type of this expression. |
void |
setArgs(Expression[] args)
Deprecated. use setParameters(List) |
void |
setName(java.lang.String name)
Sets the name of hte function. |
void |
setParameters(java.util.List params)
Sets the function paramters. |
Methods inherited from class org.geotools.filter.DefaultExpression |
accept, evaluate, evaluate, getValue, isAttributeExpression, isExpression, isGeometryExpression, isLiteralExpression, isMathExpression, isMathExpression |
Methods inherited from class org.geotools.filter.expression.ExpressionAbstract |
eval |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.filter.expression.Expression |
accept, evaluate, getValue |
Methods inherited from interface org.opengis.filter.expression.Expression |
evaluate |
Constructor Detail |
protected FunctionExpressionImpl()
Method Detail |
public short getType()
getType
in interface FunctionExpression
getType
in class DefaultExpression
public java.lang.String getName()
getName
in interface FunctionExpression
public void setName(java.lang.String name)
setName
in interface org.opengis.filter.expression.Function
public java.util.List getParameters()
getParameters
in interface org.opengis.filter.expression.Function
public void setParameters(java.util.List params)
setParameters
in interface org.opengis.filter.expression.Function
public Expression[] getArgs()
getParameters()
.
getArgs
in interface FunctionExpression
public void setArgs(Expression[] args)
setParameters(List)
setArgs
in interface FunctionExpression
args
- an array of expressions to be evaluated.public abstract int getArgCount()
getArgCount
in interface FunctionExpression
public java.lang.Object accept(org.opengis.filter.expression.ExpressionVisitor visitor, java.lang.Object extraData)
ExpressionAbstract
accept
in interface org.opengis.filter.expression.Expression
accept
in class ExpressionAbstract
Expression.accept(ExpressionVisitor, Object)
public java.util.Map getImplementationHints()
getImplementationHints
in interface Factory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |