public enum Railway extends java.lang.Enum<Railway> implements AmenityOrWay
Enum Constant and Description |
---|
abandoned |
buffer_stop |
disused |
funicular |
halt |
light_rail |
miniature |
monorail |
narrow_gauge |
platform |
rail |
roundhouse |
signal |
station |
stop |
subway |
subway_entrance |
tram |
tram_stop |
user_defined |
water_crane |
Modifier and Type | Method and Description |
---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this aeroway; only for types that are amenities.
|
static Railway |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static Railway |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Railway[] |
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 Railway user_defined
public static final Railway rail
public static final Railway tram
public static final Railway light_rail
public static final Railway disused
public static final Railway narrow_gauge
public static final Railway monorail
public static final Railway subway
public static final Railway station
public static final Railway platform
public static final Railway abandoned
public static final Railway subway_entrance
public static final Railway buffer_stop
public static final Railway funicular
public static final Railway stop
public static final Railway miniature
public static final Railway halt
public static final Railway tram_stop
public static final Railway roundhouse
public static final Railway signal
public static final Railway water_crane
public static Railway[] values()
for (Railway c : Railway.values()) System.out.println(c);
public static Railway 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 Railway value(java.lang.String name)
name
- String to convert into an Enum