org.deegree_impl.graphics.sld
Class Symbolizer_Impl

java.lang.Object
  extended byorg.deegree_impl.graphics.sld.Symbolizer_Impl
All Implemented Interfaces:
Symbolizer
Direct Known Subclasses:
LineSymbolizer_Impl, PointSymbolizer_Impl, PolygonSymbolizer_Impl, RasterSymbolizer_Impl, TextSymbolizer_Impl

public class Symbolizer_Impl
extends java.lang.Object
implements Symbolizer

This is the basis of all symbolizers. It defines the method getGeometry that's common to all symbolizers.

----------------------------------------------------------------------

Version:
$Revision: 1.7 $ $Date: 2004/01/12 14:48:41 $
Author:
Katharina Lupp

Field Summary
protected  Geometry geometry
           
protected  double maxDenominator
           
protected  double minDenominator
           
 
Constructor Summary
(package private) Symbolizer_Impl()
          default constructor
(package private) Symbolizer_Impl(Geometry geometry)
          constructor initializing the class with the
 
Method Summary
 Geometry getGeometry()
          The Geometry element is optional and if it is absent then the default geometry property of the feature type that is used in the containing FeatureStyleType is used.
 double getMaxScaleDenominator()
          The ScaleDenominator-information is optional and determines whether a rule (and thus a Symbolizer) is a to be applied at a certain scale.
 double getMinScaleDenominator()
          The ScaleDenominator-information is optional and determines whether a rule (and thus a Symbolizer) is a to be applied at a certain scale.
 void setGeometry(Geometry geometry)
          sets the
 void setMaxScaleDenominator(double maxDenominator)
          Sets the MaxScaleDenominator
 void setMinScaleDenominator(double minDenominator)
          Sets the MinScaleDenominator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxDenominator

protected double maxDenominator

minDenominator

protected double minDenominator

geometry

protected Geometry geometry
Constructor Detail

Symbolizer_Impl

Symbolizer_Impl()
default constructor


Symbolizer_Impl

Symbolizer_Impl(Geometry geometry)
constructor initializing the class with the

Method Detail

getGeometry

public Geometry getGeometry()
The Geometry element is optional and if it is absent then the default geometry property of the feature type that is used in the containing FeatureStyleType is used. The precise meaning of default geometry property is system-dependent. Most frequently, feature types will have only a single geometry property.

Specified by:
getGeometry in interface Symbolizer
Returns:
the geometry of the symbolizer

setGeometry

public void setGeometry(Geometry geometry)
sets the

Specified by:
setGeometry in interface Symbolizer
Parameters:
geometry - the geometry of the symbolizer

getMinScaleDenominator

public double getMinScaleDenominator()
Description copied from interface: Symbolizer
The ScaleDenominator-information is optional and determines whether a rule (and thus a Symbolizer) is a to be applied at a certain scale.

Specified by:
getMinScaleDenominator in interface Symbolizer
Returns:
the MinScaleDenominator

setMinScaleDenominator

public void setMinScaleDenominator(double minDenominator)
Description copied from interface: Symbolizer
Sets the MinScaleDenominator

Specified by:
setMinScaleDenominator in interface Symbolizer
Parameters:
minDenominator - the MinScaleDenominator

getMaxScaleDenominator

public double getMaxScaleDenominator()
Description copied from interface: Symbolizer
The ScaleDenominator-information is optional and determines whether a rule (and thus a Symbolizer) is a to be applied at a certain scale.

Specified by:
getMaxScaleDenominator in interface Symbolizer
Returns:
the MaxScaleDenominator

setMaxScaleDenominator

public void setMaxScaleDenominator(double maxDenominator)
Description copied from interface: Symbolizer
Sets the MaxScaleDenominator

Specified by:
setMaxScaleDenominator in interface Symbolizer
Parameters:
maxDenominator - the MaxScaleDenominator