Package org.geotools.mbstyle.function
Class FontAlternativesFunction
Object
ExpressionAbstract
FunctionImpl
FontAlternativesFunction
- All Implemented Interfaces:
Expression
,Function
Looks up all script specific alternatives for the given font name. See also
FontCache.getAlternatives(String)
for a more in depth explanation.-
Field Summary
FieldsFields inherited from class FunctionImpl
functionName
Fields inherited from interface Expression
NIL
-
Constructor Summary
Constructors -
Method Summary
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 Details
-
NAME
-
-
Constructor Details
-
FontAlternativesFunction
public FontAlternativesFunction()
-
-
Method Details
-
evaluate
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
-