deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.model.csct.cs
Class AxisInfo

java.lang.Object
  extended by org.deegree.model.csct.cs.AxisInfo
All Implemented Interfaces:
Serializable

public class AxisInfo
extends Object
implements Serializable

Details of axis. This is used to label axes, and indicate the orientation.

Version:
1.00, $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
Author:
OpenGIS (www.opengis.org), Martin Desruisseaux, last edited by: $Author: bezema $
See Also:
"org.opengis.cs.CS_AxisInfo", Serialized Form

Field Summary
static AxisInfo ALTITUDE
          The default axis for altitude values.
static AxisInfo LATITUDE
          Default axis info for latitudes.
static AxisInfo LONGITUDE
          Default axis info for longitudes.
 String name
          Human readable name for axis.
 AxisOrientation orientation
          Enumerated value for orientation.
static AxisInfo TIME
          A default axis for time values.
static AxisInfo X
          Default axis info for x values.
static AxisInfo Y
          Default axis info for y values.
 
Constructor Summary
AxisInfo(String name, AxisOrientation orientation)
          Construct an AxisInfo.
 
Method Summary
 boolean equals(Object object)
          Compares the specified object with this axis for equality.
 String getName()
          Returns the localized name of this axis.
 int hashCode()
          Returns a hash value for this axis.
 String toString()
          Returns the Well Know Text (WKT) for this axis.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

X

public static final AxisInfo X
Default axis info for x values. Increasing ordinates values go East. This is usually used with projected coordinate systems.


Y

public static final AxisInfo Y
Default axis info for y values. Increasing ordinates values go North. This is usually used with projected coordinate systems.


LONGITUDE

public static final AxisInfo LONGITUDE
Default axis info for longitudes. Increasing ordinates values go East. This is usually used with geographic coordinate systems.


LATITUDE

public static final AxisInfo LATITUDE
Default axis info for latitudes. Increasing ordinates values go North. This is usually used with geographic coordinate systems.


ALTITUDE

public static final AxisInfo ALTITUDE
The default axis for altitude values. Increasing ordinates values go up.


TIME

public static final AxisInfo TIME
A default axis for time values. Increasing time go toward future.


name

public final String name
Human readable name for axis. Possible values are X, Y, Long, Lat or any other short string.

See Also:
"org.opengis.cs.CS_AxisInfo#name"

orientation

public final AxisOrientation orientation
Enumerated value for orientation.

See Also:
"org.opengis.cs.CS_AxisInfo#orientation"
Constructor Detail

AxisInfo

public AxisInfo(String name,
                AxisOrientation orientation)
Construct an AxisInfo.

Parameters:
name - The axis name. Possible values are X, Y, Long, Lat or any other short string.
orientation - The axis orientation.
Method Detail

getName

public String getName()
Returns the localized name of this axis. The default implementation returns name.

Parameters:
locale - The locale, or null for the default locale.
Returns:
The localized string.

hashCode

public int hashCode()
Returns a hash value for this axis.

Overrides:
hashCode in class Object
Returns:
a hash value for this axis.

equals

public boolean equals(Object object)
Compares the specified object with this axis for equality.

Overrides:
equals in class Object
Returns:

toString

public String toString()
Returns the Well Know Text (WKT) for this axis. The WKT is part of OpenGIS's specification and looks like AXIS["name",NORTH].

Overrides:
toString in class Object
Returns:
the Well Know Text (WKT) for this axis.

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net