org.opengis.sld
Interface FeatureStyle
-
@XmlElement(value="FeatureTypeStyle") public interface FeatureStyle
Represents a style that applies to the features of a given type.- Since:
- GeoAPI 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description InternationalStringgetAbstract()Returns a human readable, prose description of this style.java.lang.StringgetFeatureTypeName()Returns the name of the feature type that this style is meant to act upon.java.lang.StringgetName()Returns a name for this style.java.util.List<Rule>getRules()Returns the list of rules contained by this style.java.util.List<java.lang.String>getSemanticTypeIdentifiers()Returns a string that identifies the more general "type" of geometry that this style is meant to act upon.InternationalStringgetTitle()Returns the human readable title of this style.voidsetAbstract(InternationalString abs)Sets the human readable, prose description of this style.voidsetFeatureTypeName(java.lang.String featureTypeName)Sets the name of the feature type that this style is meant to act upon.voidsetName(java.lang.String name)Sets the name for this style.voidsetTitle(InternationalString title)Sets the human readable title of this style.
-
-
-
Method Detail
-
getName
@XmlElement(value="Name") java.lang.String getName()
Returns a name for this style. This can be any string that uniquely identifies this style within a given canvas. It is not meant to be human-friendly. (The "title" property is meant to be human friendly.)
-
setName
@XmlElement(value="Name") void setName(java.lang.String name)
Sets the name for this style. SeegetName()for details.
-
getTitle
@XmlElement(value="Title") InternationalString getTitle()
Returns the human readable title of this style. This can be any string, but should be fairly short as it is intended to be used in list boxes or drop down menus or other selection interfaces.
-
setTitle
@XmlElement(value="Title") void setTitle(InternationalString title)
Sets the human readable title of this style. SeegetTitle()for details.
-
getAbstract
@XmlElement(value="Abstract") InternationalString getAbstract()
Returns a human readable, prose description of this style. This can be any string and can consist of any amount of text.
-
setAbstract
@XmlElement(value="Abstract") void setAbstract(InternationalString abs)
Sets the human readable, prose description of this style. SeegetAbstract()for details.
-
getFeatureTypeName
@XmlElement(value="FeatureTypeName") java.lang.String getFeatureTypeName()
Returns the name of the feature type that this style is meant to act upon. This may return null if a style can operate on many different feature types.
-
setFeatureTypeName
@XmlElement(value="FeatureTypeName") void setFeatureTypeName(java.lang.String featureTypeName)
Sets the name of the feature type that this style is meant to act upon. SeegetFeatureTypeName()for details.
-
getSemanticTypeIdentifiers
@XmlElement(value="SemanticTypeIdentifier") java.util.List<java.lang.String> getSemanticTypeIdentifiers()
Returns a string that identifies the more general "type" of geometry that this style is meant to act upon. In the current OGC specifications, this is an experimental element and can take only one of the following values:generic:pointgeneric:linegeneric:polygongeneric:textgeneric:rastergeneric:any
The returned list is the "live" list and can be modified, both by adding and removing rules. This is why there is no
setSemanticTypeIdentifiersmethod.
-
getRules
@XmlElement(value="Rule") java.util.List<Rule> getRules()
Returns the list of rules contained by this style. The returned list is the "live" list and can be modified, both by adding and removing rules. This is why there is nosetRulesmethod.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG