ILcdEvaluatorFactory
is already used by the TLcdOGCFilterEvaluator
,
there is no reason for using this class directly.@Deprecated public class TLcdSLDFunctionEvaluatorFactory extends Object implementsILcdEvaluatorFactory
TLcdOGCFilterEvaluator
to support SLD specific expressions.
This evaluator factory supports the following elements:
Constructor and Description |
---|
TLcdSLDFunctionEvaluatorFactory()
Deprecated.
Creates a new Evaluator factory.
|
Modifier and Type | Method and Description |
---|---|
ILcdEvaluator |
buildEvaluator(ILcdGenericExpression aGenericExpression,
ILcdEvaluatorFactory aEvaluatorFactory,
TLcdOGCFilterContext aContext)
Deprecated.
Creates an evaluator for the given expression in the given filter context.
|
boolean |
canBuildEvaluator(ILcdGenericExpression aGenericExpression)
Deprecated.
Indicates whether this factory is capable of creating an evaluator for the given expression.
|
void |
populateCapabilities(TLcdOGCFilterCapabilities aFilterCapabilities)
Deprecated.
Populates the filter capabilities, indicating what kind of expressions can be evaluated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canBuildEvaluator
public TLcdSLDFunctionEvaluatorFactory()
public boolean canBuildEvaluator(ILcdGenericExpression aGenericExpression)
ILcdEvaluatorFactory
populateCapabilities
. If a factory can
handle a given expression, this should also be clear from the filter capabilities produced by this factory.canBuildEvaluator
in interface ILcdEvaluatorFactory
aGenericExpression
- the expression to build an evaluator for, if possible.ILcdEvaluator
that can handle the
expression given.public ILcdEvaluator buildEvaluator(ILcdGenericExpression aGenericExpression, ILcdEvaluatorFactory aEvaluatorFactory, TLcdOGCFilterContext aContext)
ILcdEvaluatorFactory
canBuildEvaluator
returned true.buildEvaluator
in interface ILcdEvaluatorFactory
aGenericExpression
- the expression to build an evaluator for.aEvaluatorFactory
- the evaluator factory to use to build evaluators for sub-expressions, since an expression
may be composed of other expressions.aContext
- the context for which to create the evaluator. The context among others contains
a property retriever provider to determine how properties should be retrieved from (OGC) features.public void populateCapabilities(TLcdOGCFilterCapabilities aFilterCapabilities)
ILcdEvaluatorFactory
canBuildEvaluator
should return true.populateCapabilities
in interface ILcdEvaluatorFactory
aFilterCapabilities
- the filter capabilities in which to declare what kind of expressions can be evaluated.