|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.styling.AbstractSymbolizer
public abstract class AbstractSymbolizer
Field Summary | |
---|---|
protected Description |
description
|
protected org.opengis.filter.expression.Expression |
geometry
|
protected java.lang.String |
name
|
protected javax.measure.unit.Unit<javax.measure.quantity.Length> |
unitOfMeasure
|
Constructor Summary | |
---|---|
protected |
AbstractSymbolizer()
|
|
AbstractSymbolizer(java.lang.String name,
Description description,
org.opengis.filter.expression.Expression geometry,
javax.measure.unit.Unit<javax.measure.quantity.Length> unitOfMeasure)
|
|
AbstractSymbolizer(java.lang.String name,
Description description,
java.lang.String geometryPropertyName,
javax.measure.unit.Unit<javax.measure.quantity.Length> unitOfMeasure)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Description |
getDescription()
|
org.opengis.filter.expression.Expression |
getGeometry()
This 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. Typically, features only have one geometry so, in general, the need to select one is not required. The expression can also build a new geometry out of existing attributes or transform an existing geometry. |
java.lang.String |
getGeometryPropertyName()
A shortcut to get the geometry property name in the case the geometry expression is a PropertyName. |
java.lang.String |
getName()
|
javax.measure.unit.Unit<javax.measure.quantity.Length> |
getUnitOfMeasure()
|
int |
hashCode()
|
void |
setDescription(org.opengis.style.Description description)
Tile and Abstract of Symbolzer. |
void |
setGeometry(org.opengis.filter.expression.Expression geometry)
Sets the expression used for styling. |
void |
setGeometryPropertyName(java.lang.String geometryPropertyName)
A shortcut to define the geometry expression as a PropertyName
Typically, features only have one geometry so, in general, the need to
select one is not required. |
void |
setName(java.lang.String name)
Name of symbolizer; not always human readable. |
void |
setUnitOfMeasure(javax.measure.unit.Unit<javax.measure.quantity.Length> uom)
Defines a measure unit for the symbolizer. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.geotools.styling.Symbolizer |
---|
accept |
Methods inherited from interface org.opengis.style.Symbolizer |
---|
accept |
Field Detail |
---|
protected java.lang.String name
protected Description description
protected org.opengis.filter.expression.Expression geometry
protected javax.measure.unit.Unit<javax.measure.quantity.Length> unitOfMeasure
Constructor Detail |
---|
protected AbstractSymbolizer()
public AbstractSymbolizer(java.lang.String name, Description description, org.opengis.filter.expression.Expression geometry, javax.measure.unit.Unit<javax.measure.quantity.Length> unitOfMeasure)
public AbstractSymbolizer(java.lang.String name, Description description, java.lang.String geometryPropertyName, javax.measure.unit.Unit<javax.measure.quantity.Length> unitOfMeasure)
Method Detail |
---|
public Description getDescription()
getDescription
in interface org.opengis.style.Symbolizer
public void setDescription(org.opengis.style.Description description)
Symbolizer
public java.lang.String getName()
getName
in interface org.opengis.style.Symbolizer
public void setName(java.lang.String name)
Symbolizer
Please consider getDescription().getTitle() as an alternative if presenting this symbolizer in a user interface.
public void setUnitOfMeasure(javax.measure.unit.Unit<javax.measure.quantity.Length> uom)
Symbolizer
metre
foot
pixel
uom
- can be null, which indicates usage of the pixel unit.public javax.measure.unit.Unit<javax.measure.quantity.Length> getUnitOfMeasure()
getUnitOfMeasure
in interface org.opengis.style.Symbolizer
public org.opengis.filter.expression.Expression getGeometry()
Symbolizer
public void setGeometry(org.opengis.filter.expression.Expression geometry)
Symbolizer
Symbolizer.getGeometry()
for further
details.
public java.lang.String getGeometryPropertyName()
Symbolizer
getGeometryPropertyName
in interface org.opengis.style.Symbolizer
public void setGeometryPropertyName(java.lang.String geometryPropertyName)
Symbolizer
PropertyName
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.
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |