|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectEnvironmentVariableResolver
public class EnvironmentVariableResolver
Finds instances of specific environment variable expressions within filters and composite expressions 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 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 ParseException
filter
- The Filter to check for MapScaleDenominator Environment Variables
ParseException
public Expression resolve(Expression exp, double mapScale) throws ParseException
exp
- The Expression to check for MapScaleDenominator Environment Variables
ParseException
public boolean needsResolving(Filter f)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |