deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.rendering.r2d.se.unevaluated
Class Style

java.lang.Object
  extended by 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 $

Nested Class Summary
(package private)  class Style.InsertContinuation<T extends Collection<U>,U>
           
 
Constructor Summary
Style()
          Uses first geometry and default style.
Style(Collection<Pair<Continuation<LinkedList<Symbolizer<?>>>,DoublePair>> rules, Map<Symbolizer<TextStyling>,Continuation<StringBuffer>> labels, String name, QName featureTypeName)
           
Style(Symbolizer<?> symbolizer, Continuation<StringBuffer> label, String name)
           
 
Method Summary
 LinkedList<Triple<Styling,Geometry,String>> evaluate(Feature f)
           
 Style filter(double scale)
           
 LinkedList<LinkedList<Styling>> getBases()
           
 QName getFeatureType()
           
 String getName()
           
 LinkedList<String> getRuleTitles()
           
 LinkedList<Class<?>> getRuleTypes()
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.

Method Detail

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

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>