org.geotools.referencing
Enum CRS.AxisOrder

Object
  extended by Enum<CRS.AxisOrder>
      extended by CRS.AxisOrder
All Implemented Interfaces:
Serializable, Comparable<CRS.AxisOrder>
Enclosing class:
CRS

public static enum CRS.AxisOrder
extends Enum<CRS.AxisOrder>

Enumeration describing axis order for geographic coordinate reference systems.


Enum Constant Summary
EAST_NORTH
          Ordering in which longitude comes before latitude, commonly referred to as x/y ordering.
INAPPLICABLE
          Indicates axis ordering is not applicable to the coordinate reference system.
NORTH_EAST
           
 
Field Summary
static CRS.AxisOrder LAT_LON
          Deprecated. use NORTH_EAST
static CRS.AxisOrder LON_LAT
          Deprecated. use EAST_NORTH
 
Method Summary
static CRS.AxisOrder valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CRS.AxisOrder[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EAST_NORTH

public static final CRS.AxisOrder EAST_NORTH
Ordering in which longitude comes before latitude, commonly referred to as x/y ordering.


NORTH_EAST

public static final CRS.AxisOrder NORTH_EAST

INAPPLICABLE

public static final CRS.AxisOrder INAPPLICABLE
Indicates axis ordering is not applicable to the coordinate reference system.

Field Detail

LON_LAT

public static CRS.AxisOrder LON_LAT
Deprecated. use EAST_NORTH
Ordering in which longitude comes before latitude, commonly referred to as x/y ordering.


LAT_LON

public static CRS.AxisOrder LAT_LON
Deprecated. use NORTH_EAST
Ordering in which latitude comes before longitude, commonly referred to as y/x ordering.

Method Detail

values

public static CRS.AxisOrder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CRS.AxisOrder c : CRS.AxisOrder.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CRS.AxisOrder valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 1996-2014 Geotools. All Rights Reserved.