public enum Highway extends java.lang.Enum<Highway> implements AmenityOrWay
Enum Constant and Description |
---|
bridleway |
bus_guideway |
bus_stop |
byway |
construction |
cycleway |
elevator |
escape |
footway |
living_street |
motorway |
motorway_link |
path |
pedestrian |
primary |
primary_link |
raceway |
residential |
rest_area |
road |
secondary |
secondary_link |
service |
services |
speed_camera |
steps |
tertiary |
tertiary_link |
track |
traffic_signals |
trunk |
trunk_link |
unclassified |
Modifier and Type | Method and Description |
---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.
|
static Highway |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static Highway |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Highway[] |
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.
|
public static final Highway road
public static final Highway motorway
public static final Highway motorway_link
public static final Highway trunk
public static final Highway trunk_link
public static final Highway primary
public static final Highway primary_link
public static final Highway secondary
public static final Highway secondary_link
public static final Highway tertiary
public static final Highway residential
public static final Highway unclassified
public static final Highway living_street
public static final Highway service
public static final Highway track
public static final Highway pedestrian
public static final Highway raceway
public static final Highway services
public static final Highway rest_area
public static final Highway bus_guideway
public static final Highway path
public static final Highway cycleway
public static final Highway footway
public static final Highway bridleway
public static final Highway byway
public static final Highway construction
public static final Highway tertiary_link
public static final Highway steps
public static final Highway speed_camera
public static final Highway bus_stop
public static final Highway escape
public static final Highway traffic_signals
public static final Highway elevator
public static Highway[] values()
for (Highway c : Highway.values()) System.out.println(c);
public static Highway 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 namejava.lang.NullPointerException
- if the argument is nullpublic WayType wayType()
wayType
in interface AmenityOrWay
public AmenityType getAmenityType()
getAmenityType
in interface AmenityOrWay
public static Highway value(java.lang.String name)
name
- String to convert into an Enum