public static enum Geocoder.GeocodeType extends Enum<Geocoder.GeocodeType>
Enum Constant and Description |
---|
Gazetteer |
GridReference |
OnlineGazetteer |
OnlinePostcode |
Postcode |
Road |
Modifier and Type | Method and Description |
---|---|
static EnumSet<Geocoder.GeocodeType> |
allOffline() |
static EnumSet<Geocoder.GeocodeType> |
allOnline() |
static Geocoder.GeocodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Geocoder.GeocodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Geocoder.GeocodeType Gazetteer
public static final Geocoder.GeocodeType Postcode
public static final Geocoder.GeocodeType GridReference
public static final Geocoder.GeocodeType Road
public static final Geocoder.GeocodeType OnlineGazetteer
public static final Geocoder.GeocodeType OnlinePostcode
public static Geocoder.GeocodeType[] values()
for (Geocoder.GeocodeType c : Geocoder.GeocodeType.values()) System.out.println(c);
public static Geocoder.GeocodeType 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 static EnumSet<Geocoder.GeocodeType> allOffline()
public static EnumSet<Geocoder.GeocodeType> allOnline()
Copyright © 2012–2013 Ordnance Survey. All rights reserved.