com.moximedia.aims
Class AimsImageWorkspace

java.lang.Object
  extended bycom.moximedia.aims.AimsImageWorkspace
All Implemented Interfaces:
AimsWorkspace, java.lang.Cloneable, java.io.Serializable

public class AimsImageWorkspace
extends java.lang.Object
implements AimsWorkspace, java.io.Serializable, java.lang.Cloneable

Implementation of ArcIMS IMAGEWORKSPACE element. Used when adding dynamic feature layers to the map.

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

Constructor Summary
AimsImageWorkspace()
          Do not use.
AimsImageWorkspace(java.lang.String directory)
          Creates new AimsImageWorkspace with the specified directory.
AimsImageWorkspace(java.lang.String directory, java.lang.String name)
          Creates new AimsImageWorkspace with the specified directory and name.
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this object.
 boolean equals(AimsImageWorkspace anotherWorkspace)
          Checks whether two workspaces are the same.
 java.lang.String getDirectory()
          Gets the directory string.
 java.lang.String getName()
          Gets the name string.
 void setDirectory(java.lang.String directory)
          Sets the directory string.
 void setName(java.lang.String name)
          Sets the name string.
 java.lang.String toAxlString()
          Returns the AXL string to refresh this object, using the default environnment setting.
 java.lang.String toAxlString(AimsEnvironment env)
          Returns the AXL string to refresh this object, using the specified environnment setting.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AimsImageWorkspace

public AimsImageWorkspace()
Do not use. For serialization only.


AimsImageWorkspace

public AimsImageWorkspace(java.lang.String directory)
Creates new AimsImageWorkspace with the specified directory.

Parameters:
directory - The directory of the workspace.

AimsImageWorkspace

public AimsImageWorkspace(java.lang.String directory,
                          java.lang.String name)
Creates new AimsImageWorkspace with the specified directory and name.

Parameters:
directory - The directory of the workspace.
name - The user-defomed name of the workspace.
Method Detail

clone

public java.lang.Object clone()
Creates a copy of this object.

Specified by:
clone in interface AimsWorkspace
Returns:
An object that is a copy of one. The object must be cast to a AimsImageWorkspace before use.

equals

public boolean equals(AimsImageWorkspace anotherWorkspace)
Checks whether two workspaces are the same.

Returns:
True if they are the same, otherwise false.

getDirectory

public java.lang.String getDirectory()
Gets the directory string.

Returns:
The directory string.

setDirectory

public void setDirectory(java.lang.String directory)
Sets the directory string.

Parameters:
directory - The directory string.

getName

public java.lang.String getName()
Gets the name string.

Specified by:
getName in interface AimsWorkspace
Returns:
The name string.

setName

public void setName(java.lang.String name)
Sets the name string.

Parameters:
name - The name string.

toAxlString

public java.lang.String toAxlString()
Returns the AXL string to refresh this object, using the default environnment setting. This method is not typically used by the application programmer.

Specified by:
toAxlString in interface AimsWorkspace
Returns:
The AXL string to refresh this object.

toAxlString

public java.lang.String toAxlString(AimsEnvironment env)
Returns the AXL string to refresh this object, using the specified environnment setting. This method is not typically used by the application programmer.

Specified by:
toAxlString in interface AimsWorkspace
Parameters:
env - The environment object containing coordinate separators.
Returns:
The AXL string to refresh this object.


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