Interface NamedLayer

  • All Superinterfaces:
    Layer

    @XmlElement("NamedLayer")
    public interface NamedLayer
    extends Layer
    A named layer is a layer that can be accessed from an OGC Web Server using a well-known name.
    Since:
    GeoAPI 2.2
    • Method Detail

      • getConstraints

        @XmlElement("LayerFeatureConstraints")
        LayerFeatureConstraints getConstraints()
        The LayerFeatureConstraints element is optional in a NamedLayer and allows the user to specify constraints on what features of what feature types are to be selected by the named-layer reference. It is essentially a filter that allows the selection of fewer features than are present in the named layer.
      • styles

        @XmlElement("UserStyle,NamedStyle")
        List<? extends LayerStyle> styles()
        A named styled layer can include any number of named styles and user-defined styles, including zero, mixed in any order. If zero styles are specified, then the default styling for the specified named layer is to be used.
      • accept

        Object accept​(SLDVisitor visitor,
                      Object extraData)
        calls the visit method of a SLDVisitor
        Parameters:
        visitor - the sld visitor