com.metsci.glimpse.charts.shoreline.gshhs
Enum GshhsPolygonHeader.PolygonType

java.lang.Object
  extended by java.lang.Enum<GshhsPolygonHeader.PolygonType>
      extended by com.metsci.glimpse.charts.shoreline.gshhs.GshhsPolygonHeader.PolygonType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GshhsPolygonHeader.PolygonType>
Enclosing class:
GshhsPolygonHeader

public static enum GshhsPolygonHeader.PolygonType
extends java.lang.Enum<GshhsPolygonHeader.PolygonType>

In GSHHS version 7 (perhaps aka 1.10, version 2) the polygon type "river-lake" was added and consigned to level 2


Enum Constant Summary
islandInLake
           
lake
           
land
           
pondInIslandInLake
           
riverLake
           
 
Field Summary
 int level
           
 
Method Summary
static GshhsPolygonHeader.PolygonType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GshhsPolygonHeader.PolygonType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

land

public static final GshhsPolygonHeader.PolygonType land

lake

public static final GshhsPolygonHeader.PolygonType lake

islandInLake

public static final GshhsPolygonHeader.PolygonType islandInLake

pondInIslandInLake

public static final GshhsPolygonHeader.PolygonType pondInIslandInLake

riverLake

public static final GshhsPolygonHeader.PolygonType riverLake
Field Detail

level

public final int level
Method Detail

values

public static GshhsPolygonHeader.PolygonType[] 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 (GshhsPolygonHeader.PolygonType c : GshhsPolygonHeader.PolygonType.values())
    System.out.println(c);

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

valueOf

public static GshhsPolygonHeader.PolygonType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2012 Metron, Inc.. All Rights Reserved.