org.deegree.rendering.r2d.se.unevaluated
Class Style
java.lang.Object
org.deegree.rendering.r2d.se.unevaluated.Style
public class Style
- extends Object
Style
- Version:
- $Revision: 21333 $, $Date: 2009-12-09 11:05:00 +0100 (Mi, 09 Dez 2009) $
- Author:
- Andreas Schmitz, last edited by: $Author: aschmitz $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Style
public Style(Collection<Pair<Continuation<LinkedList<Symbolizer<?>>>,DoublePair>> rules,
Map<Symbolizer<TextStyling>,Continuation<StringBuffer>> labels,
String name,
QName featureTypeName)
- Parameters:
rules - labels - name - featureTypeName -
Style
public Style(Symbolizer<?> symbolizer,
Continuation<StringBuffer> label,
String name)
- Parameters:
symbolizer - label - name -
Style
public Style()
- Uses first geometry and default style.
filter
public Style filter(double scale)
- Parameters:
scale -
- Returns:
- a filtered list of symbolizers
evaluate
public LinkedList<Triple<Styling,Geometry,String>> evaluate(Feature f)
- Parameters:
f -
- Returns:
- a pair suitable for rendering
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name -
getFeatureType
public QName getFeatureType()
- Returns:
- the name of the feature type (or null if not constrained)
getBases
public LinkedList<LinkedList<Styling>> getBases()
- Returns:
- the base stylings for all symbolizers sorted by rules
getRuleTypes
public LinkedList<Class<?>> getRuleTypes()
- Returns:
- Polygon.class, if the IsSurface function is used, Point.class for IsPoint and LineString.class for
IsCurve
getRuleTitles
public LinkedList<String> getRuleTitles()
- Returns:
- "", if no title was set
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>