Class WfsServiceInfo


  • public final class WfsServiceInfo
    extends java.lang.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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Gets the service description.
      java.util.List<java.lang.String> getKeywords()
      Gets the keywords describing the WFS service.
      java.util.List<WfsLayerInfo> getLayerInfos()
      Returns information about the layers (feature types) provided by the WFS service.
      java.lang.String getTitle()
      Returns the human-readable title of the WFS service.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getDescription

        public java.lang.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 java.util.List<java.lang.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 java.util.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 java.lang.String getTitle()
        Returns the human-readable title of the WFS service.
        Returns:
        the title of the WFS service
        Since:
        100.5.0