Package org.geotools.referencing
Enum CRS.AxisOrder
- Object
-
- Enum<CRS.AxisOrder>
-
- 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
Enum Constants Enum Constant Description 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
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
-
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 nameNullPointerException
- if the argument is null
-
-