com.esri.core.internal.value
Class MapServer

java.lang.Object
  extended by com.esri.core.internal.value.MapServer
All Implemented Interfaces:
Serializable

public class MapServer
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
MapServer(String url)
           
 
Method Summary
 boolean equals(Object obj)
           
static MapServer fromJson(org.codehaus.jackson.JsonParser parser, String url)
           
 String getCapabilities()
          Gets the capabilities of the MapServer.
 String getCopyrightText()
           
 String getDescription()
           
 Envelope getFullExtent()
           
 Envelope getInitialExtent()
           
 SpatialReference getInitialExtentSpatialReference()
           
 Layer[] getLayers()
           
 String getMapName()
           
 int getMaximumRecordCount()
           
 double getMaxScale()
          Gets the max scale.
 double getMinScale()
          Gets the min scale.
 String getServiceDescription()
           
 SpatialReference getSpatialReference()
           
 String getSupportedImageFormatTypes()
           
 Table[] getTables()
           
 TileInfo getTileInfo()
           
 TimeInfo getTimeInfo()
           
 String getUnits()
           
 String getUrl()
           
 int hashCode()
           
 boolean isDynamicLayersSupported()
           
 boolean isSingleFusedMapCache()
           
 void setInitialExtentSpatialReference(SpatialReference initialExtentSpatialReference)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapServer

public MapServer(String url)
Method Detail

getServiceDescription

public String getServiceDescription()

getMapName

public String getMapName()

getDescription

public String getDescription()

getCopyrightText

public String getCopyrightText()

getLayers

public Layer[] getLayers()

getTables

public Table[] getTables()

getSpatialReference

public SpatialReference getSpatialReference()

isSingleFusedMapCache

public boolean isSingleFusedMapCache()

getTileInfo

public TileInfo getTileInfo()

getInitialExtent

public Envelope getInitialExtent()

getFullExtent

public Envelope getFullExtent()

getInitialExtentSpatialReference

public SpatialReference getInitialExtentSpatialReference()

setInitialExtentSpatialReference

public void setInitialExtentSpatialReference(SpatialReference initialExtentSpatialReference)

getUnits

public String getUnits()

getUrl

public String getUrl()

getSupportedImageFormatTypes

public String getSupportedImageFormatTypes()

getMaximumRecordCount

public int getMaximumRecordCount()

isDynamicLayersSupported

public boolean isDynamicLayersSupported()

getTimeInfo

public TimeInfo getTimeInfo()
Returns:
the timeInfo

getMinScale

public double getMinScale()
Gets the min scale.

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

getMaxScale

public double getMaxScale()
Gets the max scale.

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

fromJson

public static MapServer fromJson(org.codehaus.jackson.JsonParser parser,
                                 String url)
                          throws Exception
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getCapabilities

public String getCapabilities()
Gets the capabilities of the MapServer.

Returns:
Returns the capabilities.


Copyright © 2012. All Rights Reserved.