| |
|
| java.lang.Object org.geotools.event.AbstractGTComponent org.geotools.styling.LineSymbolizerImpl
LineSymbolizerImpl | public class LineSymbolizerImpl extends AbstractGTComponent implements LineSymbolizer,Cloneable(Code) | | Provides a representation of a LineSymbolizer in an SLD Document. A
LineSymbolizer defines how a line geometry should be rendered.
author: James Macgill version: $Id: LineSymbolizerImpl.java 20703 2006-07-24 16:57:44Z jgarnett $ |
Method Summary | |
public void | accept(StyleVisitor visitor) Accepts a StyleVisitor to perform some operation on this LineSymbolizer. | public Object | clone() Creates a deep copy clone. | public boolean | equals(Object oth) Compares this LineSymbolizerImpl with another for equality. | public String | getGeometryPropertyName() This property defines the geometry to be used for styling.
The property is optional and if it is absent (null) then the "default"
geometry property of the feature should be used. | public Stroke | getStroke() Provides the graphical-symbolization parameter to use for the linear
geometry. | public int | hashCode() Generates a hashcode for the LineSymbolizerImpl. | public void | setGeometryPropertyName(String name) Sets the GeometryPropertyName. | public void | setStroke(Stroke stroke) Sets the graphical-symbolization parameter to use for the linear
geometry. |
LineSymbolizerImpl | protected LineSymbolizerImpl()(Code) | | Creates a new instance of DefaultLineSymbolizer
|
accept | public void accept(StyleVisitor visitor)(Code) | | Accepts a StyleVisitor to perform some operation on this LineSymbolizer.
Parameters: visitor - The visitor to accept. |
equals | public boolean equals(Object oth)(Code) | | Compares this LineSymbolizerImpl with another for equality.
Two LineSymbolizerImpls are equal if they have the same
geometryPropertyName and the same stroke.
Parameters: oth - The other LineSymbolizerImpl True if this and oth are equal. |
getGeometryPropertyName | public String getGeometryPropertyName()(Code) | | This property defines the geometry to be used for styling.
The property is optional and if it is absent (null) then the "default"
geometry property of the feature should be used. Geometry types other
than inherently linear types can be used. 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 (or other "area" type) then its closed outline should
be used as the line string (with no end caps). The geometryPropertyName
is the name of a geometry property in the Feature being styled.
Typically, features only have one geometry so, in general, the need to
select one is not required. Note: this moves a little away from the SLD
spec which provides an XPath reference to a Geometry object, but does
follow it in spirit.
The name of the attribute in the feature being styled thatshould be used. If null then the default geometry should beused. |
getStroke | public Stroke getStroke()(Code) | | Provides the graphical-symbolization parameter to use for the linear
geometry.
The Stroke style to use when rendering lines. |
hashCode | public int hashCode()(Code) | | Generates a hashcode for the LineSymbolizerImpl.
A hashcode. |
setStroke | public void setStroke(Stroke stroke)(Code) | | Sets the graphical-symbolization parameter to use for the linear
geometry.
Parameters: stroke - The Stroke style to use when rendering lines. |
|
|
|