public static enum Placemark.Type extends Enum<Placemark.Type>
Enum Constant and Description |
---|
ANTIQUITY |
CITY |
FARM |
FOREST |
HILL |
OTHER |
ROMAN |
TOWN |
UNKNOWN |
WATER |
Modifier and Type | Method and Description |
---|---|
String |
typeCode() |
static Placemark.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Placemark.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Placemark.Type ANTIQUITY
public static final Placemark.Type CITY
public static final Placemark.Type FOREST
public static final Placemark.Type FARM
public static final Placemark.Type HILL
public static final Placemark.Type OTHER
public static final Placemark.Type ROMAN
public static final Placemark.Type TOWN
public static final Placemark.Type WATER
public static final Placemark.Type UNKNOWN
public static Placemark.Type[] values()
for (Placemark.Type c : Placemark.Type.values()) System.out.println(c);
public static Placemark.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic final String typeCode()
Copyright © 2012–2013 Ordnance Survey. All rights reserved.