com.moximedia.aims
Class AimsClientService

java.lang.Object
  extended bycom.moximedia.aims.AimsClientService
All Implemented Interfaces:
java.io.Serializable

public class AimsClientService
extends java.lang.Object
implements java.io.Serializable

Implementation of ArcIMS service element. This class represents settings for an ArcIMS service as received from a GETCLIENTSERVICES request.

Author:
Doug Cates - www.moximedia.com
See Also:
Serialized Form

Field Summary
static int SERVICE_ACCESS_PRIVATE
          Enumerated value.
static int SERVICE_ACCESS_PUBLIC
          Enumerated value.
static int SERVICE_IMAGE_TYPE_GIF
          Enumerated value.
static int SERVICE_IMAGE_TYPE_JPG
          Enumerated value.
static int SERVICE_IMAGE_TYPE_PNG
          Enumerated value.
static int SERVICE_STATUS_DISABLED
          Enumerated value.
static int SERVICE_STATUS_ENABLED
          Enumerated value.
static int SERVICE_TYPE_FEATURE
          Enumerated value.
static int SERVICE_TYPE_IMAGE
          Enumerated value.
static int SERVICE_TYPE_ROUTE
          Enumerated value.
 
Constructor Summary
AimsClientService()
          Creates new AimsService
 
Method Summary
 java.lang.String getName()
          Gets the name of the map service.
 int getType()
          Gets the type of the map service, either AimsService.SERVICE_TYPE_IMAGE, AimsService.SERVICE_TYPE_FEATURE, or AimsService.SERVICE_TYPE_ROUTE.
 boolean isEnabled()
          An indicator of whether the service is enabled.
 boolean isFeatureService()
          Returns true if the service is a feature service.
 boolean isImageService()
          Returns true if the service is an image service.
 boolean isRouteService()
          Returns true if the service is a route service.
 void setAxlAttribute(java.lang.String tag, java.lang.String name, java.lang.String value)
          Sets one of the attributes of this object using a string value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_ACCESS_PUBLIC

public static final int SERVICE_ACCESS_PUBLIC
Enumerated value.

See Also:
Constant Field Values

SERVICE_ACCESS_PRIVATE

public static final int SERVICE_ACCESS_PRIVATE
Enumerated value.

See Also:
Constant Field Values

SERVICE_STATUS_ENABLED

public static final int SERVICE_STATUS_ENABLED
Enumerated value.

See Also:
Constant Field Values

SERVICE_STATUS_DISABLED

public static final int SERVICE_STATUS_DISABLED
Enumerated value.

See Also:
Constant Field Values

SERVICE_TYPE_IMAGE

public static final int SERVICE_TYPE_IMAGE
Enumerated value.

See Also:
Constant Field Values

SERVICE_TYPE_FEATURE

public static final int SERVICE_TYPE_FEATURE
Enumerated value.

See Also:
Constant Field Values

SERVICE_TYPE_ROUTE

public static final int SERVICE_TYPE_ROUTE
Enumerated value.

See Also:
Constant Field Values

SERVICE_IMAGE_TYPE_PNG

public static final int SERVICE_IMAGE_TYPE_PNG
Enumerated value.

See Also:
Constant Field Values

SERVICE_IMAGE_TYPE_JPG

public static final int SERVICE_IMAGE_TYPE_JPG
Enumerated value.

See Also:
Constant Field Values

SERVICE_IMAGE_TYPE_GIF

public static final int SERVICE_IMAGE_TYPE_GIF
Enumerated value.

See Also:
Constant Field Values
Constructor Detail

AimsClientService

public AimsClientService()
Creates new AimsService

Method Detail

getName

public java.lang.String getName()
Gets the name of the map service.

Returns:
The name of the map service.

getType

public int getType()
Gets the type of the map service, either AimsService.SERVICE_TYPE_IMAGE, AimsService.SERVICE_TYPE_FEATURE, or AimsService.SERVICE_TYPE_ROUTE.

Returns:
The service type enumeration.

isEnabled

public boolean isEnabled()
An indicator of whether the service is enabled.

Returns:
True if enabled, otherwise false.

isFeatureService

public boolean isFeatureService()
Returns true if the service is a feature service.

Returns:
True if the service is a feature service, otherwise false.

isImageService

public boolean isImageService()
Returns true if the service is an image service.

Returns:
True if the service is an image service, otherwise false.

isRouteService

public boolean isRouteService()
Returns true if the service is a route service.

Returns:
True if the service is a route service, otherwise false.

setAxlAttribute

public void setAxlAttribute(java.lang.String tag,
                            java.lang.String name,
                            java.lang.String value)
Sets one of the attributes of this object using a string value. This method can only be called from the SAX event handler.

Parameters:
tag - The AXL element tag containing this attribute.
name - The AXL attribute name.
value - The AXL attribute value.


Internet Mapping Framework for ArcIMS Java Object Model API (v5.1.00)
Copyright © 2006 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.