|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractSymbolizer
LineSymbolizerImpl
public class LineSymbolizerImpl
Provides a representation of a LineSymbolizer in an SLD Document. A LineSymbolizer defines how a line geometry should be rendered.
Field Summary |
---|
Fields inherited from class AbstractSymbolizer |
---|
description, geometry, name, options, unitOfMeasure |
Constructor Summary | |
---|---|
protected |
LineSymbolizerImpl()
Creates a new instance of DefaultLineSymbolizer |
protected |
LineSymbolizerImpl(Stroke stroke,
Expression offset,
Unit<Length> uom,
String geom,
String name,
Description desc)
|
Method Summary | |
---|---|
void |
accept(StyleVisitor visitor)
|
Object |
accept(StyleVisitor visitor,
Object data)
Accepts a StyleVisitor to perform some operation on this LineSymbolizer. |
Object |
clone()
Creates a deep copy clone. |
boolean |
equals(Object obj)
|
Expression |
getPerpendicularOffset()
PerpendicularOffset allows to draw lines in parallel to the original geometry. |
StrokeImpl |
getStroke()
Provides the graphical-symbolization parameter to use for the linear geometry. |
int |
hashCode()
|
void |
setPerpendicularOffset(Expression offset)
Define an offset to draw lines in parallel to the original geometry. |
void |
setStroke(Stroke stroke)
Sets the graphical-symbolization parameter to use for the linear geometry. |
String |
toString()
|
Methods inherited from class AbstractSymbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getName, getOptions, getUnitOfMeasure, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface Symbolizer |
---|
getDescription, getGeometry, getGeometryPropertyName, getOptions, hasOption, setDescription, setGeometry, setGeometryPropertyName, setName, setUnitOfMeasure |
Methods inherited from interface Symbolizer |
---|
getName, getUnitOfMeasure |
Constructor Detail |
---|
protected LineSymbolizerImpl()
protected LineSymbolizerImpl(Stroke stroke, Expression offset, Unit<Length> uom, String geom, String name, Description desc)
Method Detail |
---|
public Expression getPerpendicularOffset()
LineSymbolizer
getPerpendicularOffset
in interface LineSymbolizer
public void setPerpendicularOffset(Expression offset)
LineSymbolizer
offset
- Distance in UOMs to offset line; left-hand side is positive; right-hand side is
negative; the default value is 0public StrokeImpl getStroke()
getStroke
in interface LineSymbolizer
public void setStroke(Stroke stroke)
stroke
- The Stroke style to use when rendering lines.public Object accept(StyleVisitor visitor, Object data)
accept
in interface LineSymbolizer
accept
in interface Symbolizer
visitor
- The visitor to accept.
public void accept(StyleVisitor visitor)
public Object clone()
clone
in class Object
RuntimeException
- DOCUMENT ME!Object.clone()
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class AbstractSymbolizer
public boolean equals(Object obj)
equals
in class AbstractSymbolizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |