deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.graphics.sld
Class Categorize

java.lang.Object
  extended by org.deegree.graphics.sld.Categorize

public class Categorize
extends java.lang.Object

Categorize encapsulates data from a categorize element in a RasterSymbolizer.

Version:
$Revision:$, $Date:$
Author:
Andreas Schmitz, last edited by: $Author:$

Constructor Summary
Categorize()
           
 
Method Summary
 int categorize(float val, int opacity)
           
 void setThresholds(java.util.LinkedList<ParameterValueType> thresholds)
           
 void setThresholdsBelongTo(SLDFactory.ThresholdsBelongTo thresholdsBelongTo)
           
 void setValues(java.util.LinkedList<ParameterValueType> values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Categorize

public Categorize()
Method Detail

setThresholds

public void setThresholds(java.util.LinkedList<ParameterValueType> thresholds)
Parameters:
thresholds -

setValues

public void setValues(java.util.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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org