Class WfsServiceInfo


  • public final class WfsServiceInfo
    extends Object
    Provides metadata (e.g name, title, description, and more) about a WFS service.

    To get a list of the contained WFS layers (Feature Types) use getLayerInfos().

    Since:
    100.5.0
    • Method Detail

      • getDescription

        public String getDescription()
        Gets the service description.

        The description property contains the content from the abstract field in the WFS GetCapabilities response.

        Returns:
        a String representation of the service description
        Since:
        100.5.0
      • getKeywords

        public List<String> getKeywords()
        Gets the keywords describing the WFS service.
        Returns:
        an unmodifiable list containing the keywords that describe this WFS service. This will throw an UnsupportedOperationException if an attempt is made to modify it.
        Since:
        100.5.0
      • getLayerInfos

        public List<WfsLayerInfo> getLayerInfos()
        Returns information about the layers (feature types) provided by the WFS service.

        This property can be used to discover the layers (feature types) exposed by a WFS service in support of a browsing experience.

        Returns:
        an unmodifiable list containing WfsLayerInfo objects that describe the layers provided by the service. This will thrown an UnsupportedOperationException if an attempt is made to modify it.
        Since:
        100.5.0
      • getTitle

        public String getTitle()
        Returns the human-readable title of the WFS service.
        Returns:
        the title of the WFS service
        Since:
        100.5.0