Package org.geotools.mbstyle.expression
Class MBDecision
Object
ExpressionAbstract
FunctionImpl
MBExpression
MBDecision
- All Implemented Interfaces:
Expression,Function
The expressions in this section can be used to add conditional logic to your styles. For example, the 'case'
expression provides basic "if/then/else" logic, and 'match' allows you to map specific values of an input expression
to different output expressions.
-
Field Summary
Fields inherited from class MBExpression
colors, decisions, featureData, ff, heatMap, json, lookUp, math, name, parse, ramps, string, transformer, types, variableBindings, zoomFields inherited from class FunctionImpl
functionNameFields inherited from interface Expression
NIL -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class MBExpression
canCreate, create, getName, throwInsufficientArgumentCount, throwUnexpectedArgumentCount, transformExpression, transformLiteralMethods inherited from class FunctionImpl
accept, dispatchArguments, equals, evaluate, functionName, getFallbackValue, getFunctionName, getParameters, getParameterValue, getParameterValue, hashCode, setFallbackValue, setName, setParameters, toStringMethods inherited from class ExpressionAbstract
evaluateMethods inherited from interface Expression
evaluate
-
Constructor Details
-
MBDecision
public MBDecision(JSONArray json)
-
-
Method Details
-
getExpression
Description copied from class:MBExpressionDetermines which expression to use.- Specified by:
getExpressionin classMBExpression- Throws:
MBFormatException
-