Class WmsServiceInfo

java.lang.Object
com.esri.arcgisruntime.ogc.wms.WmsServiceInfo

public final class WmsServiceInfo extends Object
The service metadata for a Web Map Service (WMS).

You can obtain the WmsServiceInfo from a loaded WmsService.

Since:
100.2.0
See Also:
  • Method Details

    • getDescription

      public String getDescription()
      Gets the WMS service's description.
      Returns:
      the description of the service
      Since:
      100.2.0
    • getImageFormats

      public List<ArcGISMapImageLayer.ImageFormat> getImageFormats()
      Gets a collection of the image formats supported by the WMS service.

      The returned list of image formats supported by the WMS service is of type ArcGISMapImageLayer.ImageFormat.

      Returns:
      a collection of the image formats supported by the WMS service
      Since:
      100.2.0
    • getKeywords

      public List<String> getKeywords()
      Gets an unordered collection of zero or more commonly used or formalized words or phrases which describe this service's dataset.
      Returns:
      an unordered collection of zero or more commonly used or formalized words or phrases which describe this service's dataset
      Since:
      100.2.0
    • getLayerInfos

      public List<WmsLayerInfo> getLayerInfos()
      Gets a collection of WmsLayerInfo objects that describes the layers hosted in this WMS service.

      Each WMS layer may have one or more sublayers (WmsLayerInfo.getSublayerInfos()).

      Returns:
      a collection of WmsLayerInfo objects that describes the layers hosted in this WMS service
      Since:
      100.2.0
    • getName

      public String getName()
      Gets the WMS service name, typically this is "WMS".
      Returns:
      the name of the service
      Since:
      100.2.0
    • getTitle

      public String getTitle()
      Gets the WMS service's title, which is brief descriptive text that identifies the service provider.

      This information is usually appropriate to display to users.

      Returns:
      the title of the service
      Since:
      100.2.0