|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.visitor.EnvironmentVariableResolver
Finds instances of specific environment variable expressions within filters and composite expressins and replaces them with simple literals.
Constructor Summary | |
EnvironmentVariableResolver()
Empty constructor |
Method Summary | |
boolean |
needsResolving(Filter f)
Test supplied filter to see if it contains any EnvironmentVariable expressions |
Expression |
resolve(Expression exp,
double mapScale)
Find all instances of MapScaleDenominator and replace them with the a literal expression for the provided map scale. |
Filter |
resolve(Filter filter,
double mapScale)
Find all instances of MapScaleDenominator and replace them with the a literal expression for the provided map scale. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EnvironmentVariableResolver()
Method Detail |
public Filter resolve(Filter filter, double mapScale) throws org.geotools.filter.parser.ParseException
filter
- The Filter to check for MapScaleDenominator Environment Variables
org.geotools.filter.parser.ParseException
public Expression resolve(Expression exp, double mapScale) throws org.geotools.filter.parser.ParseException
exp
- The Expression to check for MapScaleDenominator Environment Variables
org.geotools.filter.parser.ParseException
public boolean needsResolving(Filter f)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |