com.moximedia.ows.acetate
Class AcetateService

java.lang.Object
  extended bycom.moximedia.ows.acetate.AcetateService
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, Service

public class AcetateService
extends java.lang.Object
implements Service, java.lang.Cloneable, java.io.Serializable

Acetate service type. Used to create images associated with IMF acetate layers.

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

Constructor Summary
AcetateService()
          Creates new AcetateService
 
Method Summary
 java.lang.String getMap(Map map, Layers layers, boolean transparent)
          Creates an image containing the acetate layers and returns a URL to it.
 java.lang.String getName()
          Gets the name of this service.
 int getObjectId()
          Gets the unique object ID of this service.
 int getServiceType()
          Gets an enumerated value indicating the service type.
 boolean isForwarded()
          Gets an indicator of whether images from this service are forwarded by IMF.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AcetateService

public AcetateService()
Creates new AcetateService

Method Detail

isForwarded

public boolean isForwarded()
Gets an indicator of whether images from this service are forwarded by IMF.

Specified by:
isForwarded in interface Service
Returns:
Always false for acetate service types.

getObjectId

public int getObjectId()
Gets the unique object ID of this service.

Specified by:
getObjectId in interface Service
Returns:
The object ID.

getName

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

Specified by:
getName in interface Service
Returns:
Always returns "Acetate".

getServiceType

public int getServiceType()
Gets an enumerated value indicating the service type.

Specified by:
getServiceType in interface Service
Returns:
Always returns ServiceType.SERVICE_TYPE_ACETATE.

getMap

public java.lang.String getMap(Map map,
                               Layers layers,
                               boolean transparent)
Creates an image containing the acetate layers and returns a URL to it.

Specified by:
getMap in interface Service
Parameters:
map - The map object containing size and other properties.
layers - The acetate layers to draw.
transparent - An indicator of whether the image should be transparent.
Returns:
The URL to the image.


Internet Mapping Framework for OpenGIS Java Object Model API (v1.3.007)
Copyright © 2005 Moxi Media Inc. and Province of British Columbia. All Rights Reserved.