org.deegree.cs.coordinatesystems
Enum CRS.CRSType

java.lang.Object
  extended by java.lang.Enum<CRS.CRSType>
      extended by org.deegree.cs.coordinatesystems.CRS.CRSType
All Implemented Interfaces:
Serializable, Comparable<CRS.CRSType>
Enclosing class:
CRS

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

Simple enum defining the currently known Coordinate System types.

Version:
$Revision: $, $Date: $
Author:
Rutger Bezema, last edited by: $Author: rutger $

Enum Constant Summary
COMPOUND
          Defines this CRS as a Compound one.
GEOCENTRIC
          Defines this CRS as a GeoCentric one.
GEOGRAPHIC
          Defines this CRS as a Geographic one.
PROJECTED
          Defines this CRS as a Projected one.
VERTICAL
          Defines this CRS as a Vertical one.
 
Method Summary
 String toString()
           
static CRS.CRSType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CRS.CRSType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GEOCENTRIC

public static final CRS.CRSType GEOCENTRIC
Defines this CRS as a GeoCentric one.


GEOGRAPHIC

public static final CRS.CRSType GEOGRAPHIC
Defines this CRS as a Geographic one.


PROJECTED

public static final CRS.CRSType PROJECTED
Defines this CRS as a Projected one.


COMPOUND

public static final CRS.CRSType COMPOUND
Defines this CRS as a Compound one.


VERTICAL

public static final CRS.CRSType VERTICAL
Defines this CRS as a Vertical one.

Method Detail

values

public static CRS.CRSType[] 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.CRSType c : CRS.CRSType.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.CRSType 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

toString

public String toString()
Overrides:
toString in class Enum<CRS.CRSType>


Copyright © 2011. All Rights Reserved.