|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectLineSymbolizerImpl
public class LineSymbolizerImpl
Provides a representation of a LineSymbolizer in an SLD Document. A LineSymbolizer defines how a line geometry should be rendered.
modules/library/main (gt-main.jar)
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 oth)
Compares this LineSymbolizerImpl with another for equality. |
Description |
getDescription()
|
String |
getGeometryPropertyName()
This property defines the geometry to be used for styling. |
String |
getName()
|
Expression |
getPerpendicularOffset()
|
StrokeImpl |
getStroke()
Provides the graphical-symbolization parameter to use for the linear geometry. |
Unit<Length> |
getUnitOfMeasure()
|
int |
hashCode()
Generates a hashcode for the LineSymbolizerImpl. |
void |
setDescription(Description description)
|
void |
setGeometryPropertyName(String name)
Sets the GeometryPropertyName. |
void |
setName(String name)
|
void |
setPerpendicularOffset(Expression offset)
|
void |
setStroke(Stroke stroke)
Sets the graphical-symbolization parameter to use for the linear geometry. |
void |
setUnitOfMeasure(Unit<Length> uom)
|
String |
toString()
|
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected LineSymbolizerImpl()
protected LineSymbolizerImpl(Stroke stroke, Expression offset, Unit<Length> uom, String geom, String name, Description desc)
Method Detail |
---|
public String getName()
getName
in interface Symbolizer
public void setName(String name)
public Description getDescription()
getDescription
in interface Symbolizer
public void setDescription(Description description)
public String getGeometryPropertyName()
getGeometryPropertyName
in interface Symbolizer
public void setGeometryPropertyName(String name)
name
- The name of the geometryProperty.#LineSymbolizerImpl.geometryPropertyName()
public Unit<Length> getUnitOfMeasure()
getUnitOfMeasure
in interface Symbolizer
public void setUnitOfMeasure(Unit<Length> uom)
public Expression getPerpendicularOffset()
getPerpendicularOffset
in interface LineSymbolizer
public void setPerpendicularOffset(Expression offset)
public 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!public int hashCode()
hashCode
in class Object
public boolean equals(Object oth)
Two LineSymbolizerImpls are equal if they have the same geometryPropertyName and the same stroke.
equals
in class Object
oth
- The other LineSymbolizerImpl
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |