Interface FeatureTypeStyle

    • Method Detail

      • getName

        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.)
        a name for this style.
      • getFeatureInstanceIDs

        Id getFeatureInstanceIDs()
        Returns a collection of Object identifying features object.

        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.

      • featureTypeNames

        Set<Name> featureTypeNames()
        Returns the names of the feature type that this style is meant to act upon.

        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.

        the name of the feature type that this style is meant to act upon.
      • semanticTypeIdentifiers

        Set<SemanticType> semanticTypeIdentifiers()
        Returns a collection that identifies the more general "type" of geometry that this style is meant to act upon. In the current OGC SE specifications, this is an experimental element and can take only one of the following values:

        • generic:point
        • generic:line
        • generic:polygon
        • generic:text
        • generic:raster
        • generic:any

      • getOnlineResource

        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. OGC SLD specification can use this method to know if a style must be written completely or if writing the online resource path is enough.
        OnlineResource or null
      • getTransformation

        Expression getTransformation()
        gets the transformation as expression
        Transformation or null
      • accept

        Object accept​(StyleVisitor visitor,
                      Object extraData)
        calls the visit method of a StyleVisitor
        visitor - the style visitor