Package com.luciad.ogc.sld.evaluator
Class TLcdSLDFunctionEvaluatorFactory
java.lang.Object
com.luciad.ogc.sld.evaluator.TLcdSLDFunctionEvaluatorFactory
- All Implemented Interfaces:
ILcdEvaluatorFactory
@Deprecated
public class TLcdSLDFunctionEvaluatorFactory
extends Object
implements ILcdEvaluatorFactory
Deprecated.
Evaluator factory for functions from SLD 1.1.0. This evaluator factory is
used by
TLcdOGCFilterEvaluator
to support SLD specific expressions.
This evaluator factory supports the following elements:
- Recode
- Interpolate
- Categorize
- StringLength
- StringPosition
- Trim
- ChangeCase
- Concatenate
- SubString
- FormatDate
- FormatNumber
- ParameterValue
- Since:
- 2012.1
-
Constructor Summary
ConstructorDescriptionDeprecated.Creates a new Evaluator factory. -
Method Summary
Modifier and TypeMethodDescriptionbuildEvaluator
(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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.luciad.ogc.filter.evaluator.ILcdEvaluatorFactory
canBuildEvaluator
-
Constructor Details
-
TLcdSLDFunctionEvaluatorFactory
public TLcdSLDFunctionEvaluatorFactory()Deprecated.Creates a new Evaluator factory.
-
-
Method Details
-
canBuildEvaluator
Deprecated.Description copied from interface:ILcdEvaluatorFactory
Indicates whether this factory is capable of creating an evaluator for the given expression. The implementation of this method should be compatible with the implementation ofpopulateCapabilities
. If a factory can handle a given expression, this should also be clear from the filter capabilities produced by this factory.- Specified by:
canBuildEvaluator
in interfaceILcdEvaluatorFactory
- Parameters:
aGenericExpression
- the expression to build an evaluator for, if possible.- Returns:
- whether or not this factory is capable of providing an
ILcdEvaluator
that can handle the expression given.
-
buildEvaluator
public ILcdEvaluator buildEvaluator(ILcdGenericExpression aGenericExpression, ILcdEvaluatorFactory aEvaluatorFactory, TLcdOGCFilterContext aContext) Deprecated.Description copied from interface:ILcdEvaluatorFactory
Creates an evaluator for the given expression in the given filter context. This method should only be called ifcanBuildEvaluator
returned true.- Specified by:
buildEvaluator
in interfaceILcdEvaluatorFactory
- Parameters:
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.- Returns:
- an evaluator that evaluates the expression.
-
populateCapabilities
Deprecated.Description copied from interface:ILcdEvaluatorFactory
Populates the filter capabilities, indicating what kind of expressions can be evaluated. If an expression is supported as documented in the capabilities, the methodcanBuildEvaluator
should return true.- Specified by:
populateCapabilities
in interfaceILcdEvaluatorFactory
- Parameters:
aFilterCapabilities
- the filter capabilities in which to declare what kind of expressions can be evaluated.
-
ILcdEvaluatorFactory
is already used by theTLcdOGCFilterEvaluator
, there is no reason for using this class directly.