org.geotools.filter
Interface EnvironmentVariable

All Superinterfaces:
Expression, ExpressionType
All Known Subinterfaces:
MapScaleDenominator
All Known Implementing Classes:
MapScaleDenominatorImpl

Deprecated. Please use the environmental variable function

public interface EnvironmentVariable
extends Expression

Represents a reference to an environmental variable.

The environmental variables are expected to be "understood" by the service making use of the Expression. As an example when evaluating an SLD file you can often refer to an environmental variable "DPI", for details review the SLD specification.

Author:
James

Field Summary
 
Fields inherited from interface 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 Expression
NIL
 
Method Summary
 Object getValue(SimpleFeature feature)
          Deprecated. use Expression.evaluate(Object)
 
Methods inherited from interface Expression
accept, evaluate, getType
 
Methods inherited from interface Expression
accept, evaluate, evaluate
 

Method Detail

getValue

Object getValue(SimpleFeature feature)
Deprecated. use Expression.evaluate(Object)

Gets the attribute value at the path held by this expression from the feature.

Parameters:
feature - the feature to get this attribute from.
Returns:
the value of the attribute found by this expression.


Copyright © 1996-2014 Geotools. All Rights Reserved.