com.bericotech.clavin.gazetteer
Enum FeatureClass
java.lang.Object
java.lang.Enum<FeatureClass>
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)
|
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. |
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
type
public final String type
description
public final String description
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.