com.bericotech.clavin.gazetteer
Enum FeatureClass

java.lang.Object
  extended by java.lang.Enum<FeatureClass>
      extended by com.bericotech.clavin.gazetteer.FeatureClass
All Implemented Interfaces:
Serializable, Comparable<FeatureClass>

public enum FeatureClass
extends Enum<FeatureClass>

Feature categories used by GeoNames. (see http://www.geonames.org/export/codes.html)


Enum Constant Summary
A
           
H
           
L
           
NULL
           
P
           
R
           
S
           
T
           
U
           
V
           
 
Field Summary
 String description
           
 String type
           
 
Method Summary
static FeatureClass valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FeatureClass[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

A

public static final FeatureClass A

P

public static final FeatureClass P

V

public static final FeatureClass V

L

public static final FeatureClass L

U

public static final FeatureClass U

R

public static final FeatureClass R

T

public static final FeatureClass T

H

public static final FeatureClass H

S

public static final FeatureClass S

NULL

public static final FeatureClass NULL
Field Detail

type

public final String type

description

public final String description
Method Detail

values

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

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

valueOf

public static FeatureClass 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 © 2013 Berico Technologies. All rights reserved.