public class

MapServiceCapabilities

extends Object
java.lang.Object
   ↳ com.esri.core.ags.MapServiceCapabilities

Class Overview

This class represents the capabilities supported by a MapService. It can be retrieved from a MapServiceInfo object and queried for its capabilities. MapServices can support three different capabilities: Map, Query, and Data.

Summary

Public Constructors
MapServiceCapabilities(String capabilities)
Creates a MapServiceCapabilities object from a comma separated String of the capabilities supported
Public Methods
boolean isDataSupported()
Returns whether or not the MapService supports the Data capability.
boolean isMapSupported()
Returns whether or not the MapService supports the Map capability.
boolean isQuerySupported()
Returns whether or not the MapService supports the Query capability.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MapServiceCapabilities (String capabilities)

Creates a MapServiceCapabilities object from a comma separated String of the capabilities supported

Parameters
capabilities String: Comma separated list of supported capabilities

Public Methods

public boolean isDataSupported ()

Returns whether or not the MapService supports the Data capability.

Returns
boolean True if the Data capability is supported

public boolean isMapSupported ()

Returns whether or not the MapService supports the Map capability.

Returns
boolean True if the Map capability is supported

public boolean isQuerySupported ()

Returns whether or not the MapService supports the Query capability.

Returns
boolean True if the Query capability is supported

public String toString ()

Returns
String