com.ontimize.util.gis.client.gui.render.styling.symbolizers
Class DefaultGisExpression

java.lang.Object
  extended by com.ontimize.util.gis.client.gui.render.styling.symbolizers.DefaultGisExpression
All Implemented Interfaces:
java.io.Serializable, org.geotools.filter.ExpressionType, org.opengis.filter.expression.Expression

public class DefaultGisExpression
extends java.lang.Object
implements org.geotools.filter.Expression, java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.lang.Object literalValue
           
protected  short type
           
 
Fields inherited from interface org.geotools.filter.ExpressionType
ATTRIBUTE, ATTRIBUTE_DOUBLE, ATTRIBUTE_GEOMETRY, ATTRIBUTE_INTEGER, ATTRIBUTE_STRING, ATTRIBUTE_UNDECLARED, FUNCTION, LITERAL_DOUBLE, LITERAL_GEOMETRY, LITERAL_INTEGER, LITERAL_LONG, LITERAL_STRING, LITERAL_UNDECLARED, MATH_ADD, MATH_DIVIDE, MATH_MULTIPLY, MATH_SUBTRACT
 
Fields inherited from interface org.opengis.filter.expression.Expression
NIL
 
Constructor Summary
DefaultGisExpression(double value)
           
 
Method Summary
 java.lang.Object accept(org.opengis.filter.expression.ExpressionVisitor arg0, java.lang.Object arg1)
           
 void accept(org.geotools.filter.FilterVisitor visitor)
           
 java.lang.Object evaluate(java.lang.Object arg0)
           
<T> T
evaluate(java.lang.Object arg0, java.lang.Class<T> arg1)
           
 java.lang.Object evaluate(org.opengis.feature.simple.SimpleFeature feature)
           
 short getType()
           
 java.lang.Object getValue(org.opengis.feature.simple.SimpleFeature feature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected short type

literalValue

protected java.lang.Object literalValue
Constructor Detail

DefaultGisExpression

public DefaultGisExpression(double value)
Method Detail

accept

public void accept(org.geotools.filter.FilterVisitor visitor)

evaluate

public java.lang.Object evaluate(org.opengis.feature.simple.SimpleFeature feature)

getType

public short getType()

getValue

public java.lang.Object getValue(org.opengis.feature.simple.SimpleFeature feature)

accept

public java.lang.Object accept(org.opengis.filter.expression.ExpressionVisitor arg0,
                               java.lang.Object arg1)
Specified by:
accept in interface org.opengis.filter.expression.Expression

evaluate

public java.lang.Object evaluate(java.lang.Object arg0)
Specified by:
evaluate in interface org.opengis.filter.expression.Expression

evaluate

public <T> T evaluate(java.lang.Object arg0,
                      java.lang.Class<T> arg1)
Specified by:
evaluate in interface org.opengis.filter.expression.Expression