com.moximedia.aims
Class AimsCoordsys

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

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

Implementation of ArcIMS COORDSYS object.

See Also:
Serialized Form

Field Summary
static java.lang.String BC_ALBERS
          Returns the BC_ALBERS projection string.
static java.lang.String VICGRID94
          Returns the VICGRID94 projection string.
 
Constructor Summary
AimsCoordsys()
          Creates new AimsCoordsys with the default BC Albers projection
AimsCoordsys(int coordsysId)
          Creates new AimsCoordsys with an ID
AimsCoordsys(java.lang.String coordsysString)
          Creates new AimsCoordsys with a string value
 
Method Summary
 java.lang.Object clone()
          Creates a copy of this object.
 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.
 void setDatumTransformId(int datumTransformId)
          Sets the AimsCoordsys datum transform ID
 void setDatumTransformString(java.lang.String datumTransformString)
          Sets the AimsCoordsys datum transform string
 void setId(int coordsysId)
          Sets the AimsCoordsys with an ID
 void setString(java.lang.String coordsysString)
          Sets the coordsys with a string value
 java.lang.String toAxlString()
          Returns the AXL string to refresh this object, using the default environment coordinate separators.
 java.lang.String toAxlString(AimsEnvironment env)
          Returns the AXL string to refresh this object, using the coordinate separators in the specified environnment setting.
 java.lang.String toAxlString(java.lang.String requestType, AimsEnvironment env)
          Returns the AXL string to refresh this object, using the coordinate separators in the specified environnment setting.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BC_ALBERS

public static java.lang.String BC_ALBERS
Returns the BC_ALBERS projection string.


VICGRID94

public static java.lang.String VICGRID94
Returns the VICGRID94 projection string.

Constructor Detail

AimsCoordsys

public AimsCoordsys()
Creates new AimsCoordsys with the default BC Albers projection


AimsCoordsys

public AimsCoordsys(int coordsysId)
Creates new AimsCoordsys with an ID

Parameters:
coordsysId - The ID for the coordsys.

AimsCoordsys

public AimsCoordsys(java.lang.String coordsysString)
Creates new AimsCoordsys with a string value

Parameters:
coordsysString - The coordsys string.
Method Detail

clone

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

Returns:
An object that is a copy of this object. Note that the returned value is a java.lang.Object that must be cast to an AimsCoordsys before use.

setId

public void setId(int coordsysId)
Sets the AimsCoordsys with an ID

Parameters:
coordsysId - The ID for the coordsys.

setString

public void setString(java.lang.String coordsysString)
Sets the coordsys with a string value

Parameters:
coordsysString - The coordsys string.

setDatumTransformId

public void setDatumTransformId(int datumTransformId)
Sets the AimsCoordsys datum transform ID

Parameters:
datumTransformId - The datum transform ID for the coordsys.

setDatumTransformString

public void setDatumTransformString(java.lang.String datumTransformString)
Sets the AimsCoordsys datum transform string

Parameters:
datumTransformString - The datum transform string for the coordsys.

toAxlString

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

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 coordinate separators in the specified environnment setting. This method is not typically used by the application programmer.

Parameters:
env - The environment object containing coordinate separators.
Returns:
The AXL string to refresh this object.

toAxlString

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

Parameters:
requestType - The parent tag for the AXL response.
env - The environment object containing coordinate separators.
Returns:
The AXL string to refresh this object.

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 should 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.