Package org.geotools.mbstyle.function
Class CSSFunction
- Object
-
- ExpressionAbstract
-
- FunctionImpl
-
- CSSFunction
-
- All Implemented Interfaces:
Expression
,Function
public class CSSFunction extends FunctionImpl
Generate a Color usingColorConverterFactory
, the input is expected to be a String.Parameters:
- string: string defining color
- Author:
- Jody Garnett (Boundless)
-
-
Field Summary
Fields Modifier and Type Field Description static FunctionName
NAME
-
Fields inherited from class FunctionImpl
functionName
-
Fields inherited from interface Expression
NIL
-
-
Constructor Summary
Constructors Constructor Description CSSFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(Object object)
Default implementation simply returns the fallbackValue.-
Methods inherited from class FunctionImpl
accept, dispatchArguments, equals, functionName, getFallbackValue, getFunctionName, getName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toString
-
Methods inherited from class ExpressionAbstract
evaluate
-
Methods inherited from interface Expression
evaluate
-
-
-
-
Field Detail
-
NAME
public static final FunctionName NAME
-
-
Method Detail
-
evaluate
public Object evaluate(Object object)
Description copied from class:FunctionImpl
Default implementation simply returns the fallbackValue.Please override this method to produce a value based on the provided arguments.
- Specified by:
evaluate
in interfaceExpression
- Overrides:
evaluate
in classFunctionImpl
- Parameters:
object
- Object being evaluated; often a Feature- Returns:
- value for the provided object
-
-