public class

MapServiceInfo

extends Object
implements Serializable
java.lang.Object
   ↳ com.esri.core.ags.MapServiceInfo

Class Overview

This class represents a map service and provides information about the configuration of the service.

Summary

Public Methods
boolean equals(Object obj)
static MapServiceInfo fromJson(JsonParser parser, String url)
MapServiceCapabilities getCapabilities()
Gets the capabilities of the MapServer.
String getCopyrightText()
String getDescription()
Envelope getFullExtent()
Envelope getInitialExtent()
SpatialReference getInitialExtentSpatialReference()
String getMapName()
LayerServiceInfo[] getMapServiceLayerInfos()
int getMaxExportTilesCount()
Returns the maximum tiles count for exporting.
double getMaxScale()
Gets the max scale.
int getMaximumRecordCount()
Returns the maximum record counts.
double getMinScale()
Gets the min scale.
String getServiceDescription()
SpatialReference getSpatialReference()
String getSupportedImageFormatTypes()
Returns supported image format separated by comma.
Table[] getTables()
TileInfo getTileInfo()
TimeInfo getTimeInfo()
String getUnits()
String getUrl()
boolean hasVersionedData()
int hashCode()
boolean isDynamicLayersSupported()
Indicates if the dynamic layer is supported in the service.
boolean isExportTilesAllowed()
Indicates if the map service supports the exporting tiles.
boolean isSingleFusedMapCache()
void setHasVersionedData(boolean hasVersionedData)
void setInitialExtentSpatialReference(SpatialReference initialExtentSpatialReference)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public static MapServiceInfo fromJson (JsonParser parser, String url)

Parameters
parser JsonParser
url String
Returns
MapServiceInfo
Throws
Exception

public MapServiceCapabilities getCapabilities ()

Gets the capabilities of the MapServer.

Returns
MapServiceCapabilities Returns the capabilities.

public String getCopyrightText ()

Returns
String

public String getDescription ()

Returns
String

public Envelope getFullExtent ()

Returns
Envelope

public Envelope getInitialExtent ()

Returns
Envelope

public SpatialReference getInitialExtentSpatialReference ()

public String getMapName ()

Returns
String

public LayerServiceInfo[] getMapServiceLayerInfos ()

public int getMaxExportTilesCount ()

Returns the maximum tiles count for exporting.

Returns
int integer; returning zero if it is not defined in map service.

public double getMaxScale ()

Gets the max scale.

Returns
double the max scale; Double.NaN if maxScale is not in JSON.

public int getMaximumRecordCount ()

Returns the maximum record counts.

Returns
int integer

public double getMinScale ()

Gets the min scale.

Returns
double the min scale; Double.NaN if minScale is not in JSON.

public String getServiceDescription ()

Returns
String

public SpatialReference getSpatialReference ()

public String getSupportedImageFormatTypes ()

Returns supported image format separated by comma.

Returns
String String

public Table[] getTables ()

Returns
Table[]

public TileInfo getTileInfo ()

Returns
TileInfo

public TimeInfo getTimeInfo ()

Returns
TimeInfo the timeInfo

public String getUnits ()

Returns
String

public String getUrl ()

Returns
String

public boolean hasVersionedData ()

Returns
boolean true if the data is versioned

public int hashCode ()

Returns
int

public boolean isDynamicLayersSupported ()

Indicates if the dynamic layer is supported in the service.

Returns
boolean boolean

public boolean isExportTilesAllowed ()

Indicates if the map service supports the exporting tiles.

Returns
boolean boolean

public boolean isSingleFusedMapCache ()

Returns
boolean

public void setHasVersionedData (boolean hasVersionedData)

public void setInitialExtentSpatialReference (SpatialReference initialExtentSpatialReference)

Parameters
initialExtentSpatialReference SpatialReference

public String toString ()

Returns
String