org.deegree.graphics.sld
Class Categorize
java.lang.Object
org.deegree.graphics.sld.Categorize
public class Categorize
- extends Object
Categorize encapsulates data from a categorize element in a RasterSymbolizer.
- Version:
- $Revision:$, $Date:$
- Author:
- Andreas Schmitz, last edited by: $Author:$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Categorize
public Categorize()
setThresholds
public void setThresholds(LinkedList<ParameterValueType> thresholds)
- Parameters:
thresholds -
setValues
public void setValues(LinkedList<ParameterValueType> values)
- Parameters:
values -
setThresholdsBelongTo
public void setThresholdsBelongTo(SLDFactory.ThresholdsBelongTo thresholdsBelongTo)
- Parameters:
thresholdsBelongTo -
categorize
public int categorize(float val,
int opacity)
- Parameters:
val - opacity - the opacity to use if none has been set for the value
- Returns:
- a categorized value
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net