|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LandUse>
org.ka2ddo.yaac.osm.LandUse
public enum LandUse
This enum defines the supported values of the landuse="*" attribute in OSM. Note that all Ways with a landuse tag are assumed to be areas. See the definition of landuse on the OpenStreetMap wiki.
Method Summary | |
---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities. |
boolean |
isArea()
Indicates whether this enum type implies an area. |
static LandUse |
value(java.lang.String name)
Get the enum value associated with the string name specified. |
static LandUse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LandUse[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
WayType |
wayType()
Report the WayType for rendering this type of Way. |
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 LandUse user_defined
public static final LandUse allotments
public static final LandUse basin
public static final LandUse brownfield
public static final LandUse cemetary
public static final LandUse commercial
public static final LandUse construction
public static final LandUse farm
public static final LandUse farmland
public static final LandUse farmyard
public static final LandUse forest
public static final LandUse garages
public static final LandUse grass
public static final LandUse greenfield
public static final LandUse greenhouse
public static final LandUse industrial
public static final LandUse landfill
public static final LandUse meadow
public static final LandUse military
public static final LandUse orchard
public static final LandUse place_of_worship
public static final LandUse plant_nursery
public static final LandUse quarry
public static final LandUse railway
public static final LandUse recreation
public static final LandUse reservoir
public static final LandUse residential
public static final LandUse retail
public static final LandUse salt_pond
public static final LandUse village_green
public static final LandUse vineyard
public static final LandUse conservation
public static final LandUse port
Method Detail |
---|
public static LandUse[] values()
for (LandUse c : LandUse.values()) System.out.println(c);
public static LandUse valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic WayType wayType()
wayType
in interface AmenityOrWay
public AmenityType getAmenityType()
getAmenityType
in interface AmenityOrWay
public static LandUse value(java.lang.String name)
name
- String to convert into an Enum
public boolean isArea()
isArea
in interface MaybeArea
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |