|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCategorizeFunction
public class CategorizeFunction
Implementation of "Categorize" as a normal function.
This implementation is compatible with the Function interface; the parameter list can be used to set the threshold values etc...
This function expects:
modules/library/render (gt-render.jar)
Nested Class Summary | |
---|---|
static class |
CategorizeFunction.Name
Describe how this function works. |
Field Summary | |
---|---|
static FunctionName |
NAME
Make the instance of FunctionName available in a consistent spot. |
static String |
PRECEDING
Use as a literal value to indicate behaviour of threshold boundary |
static String |
RASTER_DATA
Use as a PropertyName when defining a color map. |
static String |
SUCCEEDING
Use as a literal value to indicate behaviour of threshold boundary |
Fields inherited from interface Expression |
---|
NIL |
Constructor Summary | |
---|---|
CategorizeFunction()
|
|
CategorizeFunction(List<Expression> parameters,
Literal fallback)
|
Method Summary | ||
---|---|---|
Object |
accept(ExpressionVisitor visitor,
Object extraData)
|
|
Object |
evaluate(Object object)
|
|
|
evaluate(Object object,
Class<T> context)
|
|
Literal |
getFallbackValue()
|
|
String |
getName()
|
|
List<Expression> |
getParameters()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SUCCEEDING
public static final String PRECEDING
public static final String RASTER_DATA
public static final FunctionName NAME
Constructor Detail |
---|
public CategorizeFunction()
public CategorizeFunction(List<Expression> parameters, Literal fallback)
Method Detail |
---|
public String getName()
getName
in interface Function
public List<Expression> getParameters()
getParameters
in interface Function
public Object accept(ExpressionVisitor visitor, Object extraData)
accept
in interface Expression
public Object evaluate(Object object)
evaluate
in interface Expression
public <T> T evaluate(Object object, Class<T> context)
evaluate
in interface Expression
public Literal getFallbackValue()
getFallbackValue
in interface Function
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |