@XmlElement(value="FeatureTypeStyle") @UML(identifier="PF_FeaturePortrayal", specification=ISO_19117) public interface FeatureTypeStyle
Modifier and Type | Method and Description |
---|---|
Object |
accept(StyleVisitor visitor,
Object extraData)
calls the visit method of a StyleVisitor
|
Set<Name> |
featureTypeNames()
Returns the names of the feature type that this style is meant to act upon.
|
Description |
getDescription()
Returns the description of this style.
|
Id |
getFeatureInstanceIDs()
Returns a collection of Object identifying features object.
|
String |
getName()
Returns a name for this style.
|
OnLineResource |
getOnlineResource()
It is common to have a style coming from a external xml file, this method provide a way to
get the original source if there is one.
|
Expression |
getTransformation()
gets the transformation as expression
|
List<? extends Rule> |
rules()
Returns the list of rules contained by this style.
|
Set<SemanticType> |
semanticTypeIdentifiers()
Returns a collection that identifies the more general "type" of geometry that this style is
meant to act upon.
|
@XmlElement(value="Name") String getName()
@XmlElement(value="Description") @UML(identifier="description", obligation=OPTIONAL, specification=ISO_19117) Description getDescription()
@UML(identifier="definedForInst", obligation=OPTIONAL, specification=ISO_19117) Id getFeatureInstanceIDs()
ISO 19117 extends FeatureTypeStyle be providing this method. This method enable the possibility to use a feature type style on a given list of features only, which is not possible in OGC SE.
@XmlElement(value="FeatureTypeName") @UML(identifier="definedFor", obligation=OPTIONAL, specification=ISO_19117) Set<Name> featureTypeNames()
In OGC Symbology Encoding define this method to return a single String, and ISO 19117 use a Collection of String. We've choosen ISO because it is more logic that a featureTypeStyle can be applied to multiple featuretypes and not limited to a single one.
@XmlElement(value="SemanticTypeIdentifier") Set<SemanticType> semanticTypeIdentifiers()
generic:point
generic:line
generic:polygon
generic:text
generic:raster
generic:any
@XmlElement(value="Rule") @UML(identifier="portrayalRule", obligation=MANDATORY, specification=ISO_19117) List<? extends Rule> rules()
@XmlElement(value="OnlineResource") OnLineResource getOnlineResource()
@XmlElement(value="Transformation") Expression getTransformation()
@Extension Object accept(StyleVisitor visitor, Object extraData)
visitor
- the style visitorCopyright © 1996–2019 Geotools. All rights reserved.