|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Man_Made>
org.ka2ddo.yaac.osm.Man_Made
public enum Man_Made
This enum describes the supported types of man_made objects described in OSM. See the definition of man_made on the OpenStreetMap wiki.
Method Summary | |
---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities. |
static Man_Made |
value(java.lang.String name)
Get the enum value associated with the string name specified. |
static Man_Made |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Man_Made[] |
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 Man_Made user_defined
public static final Man_Made adit
public static final Man_Made beacon
public static final Man_Made groyne
public static final Man_Made lighthouse
public static final Man_Made mine
public static final Man_Made mineshaft
public static final Man_Made petroleum_well
public static final Man_Made pier
public static final Man_Made pipeline
public static final Man_Made reservior_covered
public static final Man_Made tower
public static final Man_Made wastewater_plant
public static final Man_Made watermill
public static final Man_Made water_tower
public static final Man_Made water_works
public static final Man_Made water_well
public static final Man_Made windmill
public static final Man_Made breakwater
public static final Man_Made communications_tower
Method Detail |
---|
public static Man_Made[] values()
for (Man_Made c : Man_Made.values()) System.out.println(c);
public static Man_Made 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 Man_Made value(java.lang.String name)
name
- String to convert into an Enum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |