Interface UserLayer

  • All Superinterfaces:
    Layer

    @XmlElement("UserLayer")
    public interface UserLayer
    extends Layer
    Since a layer is defined as a collection of potentially mixed-type features, the UserLayer element must provide the means to identify the features to be used.
    Since:
    GeoAPI 2.2
    • Method Detail

      • getSource

        @XmlElement("InlineFeature,RemoteOWS")
        Source getSource()
        All features to be rendered are assumed to be fetched from a Web Feature Server (WFS) or a Web Coverage Service (WCS, in which case the term “features” is used loosely). Alternatively they can be supplied in-line in the SLD document. This alternative is only recommended for small numbers of features of transient nature.
        Returns:
        InlineFeature or RemoteOWS
      • getConstraints

        @XmlElement("LayerFeatureConstraints,LayerCoverageConstraints")
        Constraints getConstraints()
        Constraints to apply on the features.
        Returns:
        LayerFeatureConstraints or LayerCoverageConstraints
      • accept

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