public class IntervalsLegendUtils extends Object
Constructor and Description |
---|
IntervalsLegendUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
areRulesOfIntervals(List<SLDRule> rules) |
static Map<IInterval,ISymbol> |
getIntervalToSymbol(List<SLDRule> rules,
DataType dt,
String pname)
Translates rules to a interval-symbol correspondence.
|
static IVectorialIntervalLegend |
toIntervalsLegend(List<SLDRule> rules) |
static SLDLayer |
toSLDLayer(IVectorialIntervalLegend legend) |
public static IVectorialIntervalLegend toIntervalsLegend(List<SLDRule> rules) throws UnsupportedSLDObjectException
UnsupportedSLDObjectException
public static SLDLayer toSLDLayer(IVectorialIntervalLegend legend) throws UnsupportedSymbolException
UnsupportedSymbolException
public static Map<IInterval,ISymbol> getIntervalToSymbol(List<SLDRule> rules, DataType dt, String pname) throws UnsupportedSLDObjectException
rules
- dt
- UnsupportedSLDObjectException
CoercionException