|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FeatureClass>
org.geonames.FeatureClass
public enum FeatureClass
Enumeration for the GeoNames feature classes A,H,L,P,R,S,T,U,V
| Enum Constant Summary | |
|---|---|
A
Administrative Boundary Features |
|
H
Hydrographic Features |
|
L
Area Features |
|
P
Populated Place Features |
|
R
Road / Railroad Features |
|
S
Spot Features |
|
T
Hypsographic Features |
|
U
Undersea Features |
|
V
Vegetation Features |
|
| Method Summary | |
|---|---|
static FeatureClass |
fromValue(String value)
|
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 |
|---|
public static final FeatureClass A
public static final FeatureClass H
public static final FeatureClass L
public static final FeatureClass P
public static final FeatureClass R
public static final FeatureClass S
public static final FeatureClass T
public static final FeatureClass U
public static final FeatureClass V
| Method Detail |
|---|
public static FeatureClass[] values()
for (FeatureClass c : FeatureClass.values()) System.out.println(c);
public static FeatureClass valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static FeatureClass fromValue(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||