org.deegree_impl.graphics.sld
Class LineSymbolizer_Impl

java.lang.Object
  extended byorg.deegree_impl.graphics.sld.Symbolizer_Impl
      extended byorg.deegree_impl.graphics.sld.LineSymbolizer_Impl
All Implemented Interfaces:
LineSymbolizer, Marshallable, Symbolizer

public class LineSymbolizer_Impl
extends Symbolizer_Impl
implements LineSymbolizer, Marshallable

Used to render a "stroke" along a linear geometry. If a point geometry is used, it should be interpreted as a line of zero length and two end caps. If a polygon is used, then its closed outline is used as the line string (with no end caps). A missing Geometry element selects the default geometry. A missing Stroke element means that nothing will be plotted.

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

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

Field Summary
private  Stroke stroke
           
 
Fields inherited from class org.deegree_impl.graphics.sld.Symbolizer_Impl
geometry, maxDenominator, minDenominator
 
Constructor Summary
  LineSymbolizer_Impl()
          Creates a new LineSymbolizer_Impl object.
(package private) LineSymbolizer_Impl(Stroke stroke, Geometry geometry, double min, double max)
          constructor initializing the class with the
 
Method Summary
 java.lang.String exportAsXML()
          exports the content of the LineSymbolizer as XML formated String
 Stroke getStroke()
          A Stroke allows a string of line segments (or any linear geometry) to be rendered.
 void setStroke(Stroke stroke)
          sets the
 
Methods inherited from class org.deegree_impl.graphics.sld.Symbolizer_Impl
getGeometry, getMaxScaleDenominator, getMinScaleDenominator, setGeometry, setMaxScaleDenominator, setMinScaleDenominator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deegree.graphics.sld.Symbolizer
getGeometry, getMaxScaleDenominator, getMinScaleDenominator, setGeometry, setMaxScaleDenominator, setMinScaleDenominator
 

Field Detail

stroke

private Stroke stroke
Constructor Detail

LineSymbolizer_Impl

public LineSymbolizer_Impl()
Creates a new LineSymbolizer_Impl object.


LineSymbolizer_Impl

LineSymbolizer_Impl(Stroke stroke,
                    Geometry geometry,
                    double min,
                    double max)
constructor initializing the class with the

Method Detail

getStroke

public Stroke getStroke()
A Stroke allows a string of line segments (or any linear geometry) to be rendered. There are three basic types of strokes: solid Color, GraphicFill (stipple), and repeated GraphicStroke. A repeated graphic is plotted linearly and has its graphic symbol bended around the curves of the line string. The default is a solid black line (Color "#000000").

Specified by:
getStroke in interface LineSymbolizer
Returns:
the Stroke

setStroke

public void setStroke(Stroke stroke)
sets the

Specified by:
setStroke in interface LineSymbolizer
Parameters:
stroke - the Stroke

exportAsXML

public java.lang.String exportAsXML()
exports the content of the LineSymbolizer as XML formated String

Specified by:
exportAsXML in interface Marshallable
Returns:
xml representation of the LineSymbolizer