com.esri.aims.mtier.model.map.environment
Class Capabilities

java.lang.Object
  extended by com.esri.aims.mtier.model.map.environment.Capabilities
All Implemented Interfaces:
Serializable

public class Capabilities
extends Object
implements Serializable

Used in a SERVICEINFO response to list any restrictions for an ArcIMS service.

See Also:
Serialized Form

Constructor Summary
Capabilities()
           
 
Method Summary
 String[] getDisabledTypes()
          Returns the disabled image output types designated in the spatialServer.
 String[] getForbidden()
          Returns the list of elements that cannot be used in a request to the service.
 String getReturnGeometry()
          Return the returngeometry attribute value of CAPABILITIES element.
 String getServerType()
          Returns the type of server.
 void setDisabledTypes(String[] disabledTypes)
          Sets the list of disabled image output types.
 void setForbidden(String[] forbidden)
          Sets the list of elements that cannot be used in a request to the service.
 void setReturnGeometry(String returnGeometry)
          Sets the returngeometry attribute value.
 void setServerType(String serverType)
          Sets the server type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Capabilities

public Capabilities()
Method Detail

getForbidden

public String[] getForbidden()
Returns the list of elements that cannot be used in a request to the service.

Returns:
String- the list of elements

getServerType

public String getServerType()
Returns the type of server. For ArcMap Image Service the value is arcmapserver and null for Image Service.

Returns:
String- the server type

getDisabledTypes

public String[] getDisabledTypes()
Returns the disabled image output types designated in the spatialServer. ForbiddenImageTypes property in esrimap_prop.

Returns:
String- the list of disabled image output types

getReturnGeometry

public String getReturnGeometry()
Return the returngeometry attribute value of CAPABILITIES element.

Returns:
the string value all, none or xmlmode.

setForbidden

public void setForbidden(String[] forbidden)
Sets the list of elements that cannot be used in a request to the service.

Parameters:
forbidden - the list of elements that cannot be used in a request to the service

setServerType

public void setServerType(String serverType)
Sets the server type.

Parameters:
serverType - the server type

setDisabledTypes

public void setDisabledTypes(String[] disabledTypes)
Sets the list of disabled image output types.

Parameters:
disabledTypes - the list of disabled image output types

setReturnGeometry

public void setReturnGeometry(String returnGeometry)
Sets the returngeometry attribute value.

Parameters:
returnGeometry - CAPABILITIES element attribute value.