|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BorderType>
org.ka2ddo.yaac.osm.BorderType
public enum BorderType
This enum defines the supported values of the border_type="*" attribute of OSM. See the definition of border_type on the OpenStreetMap wiki.
Enum Constant Summary | |
---|---|
borough
|
|
city
|
|
county
|
|
prefecture
|
|
province
|
|
state
|
|
town
|
|
township
|
|
user_defined
|
|
village
|
Method Summary | |
---|---|
byte |
getAdminLevel()
Gets the numeric administrative level that is associated with this level of border. |
static BorderType |
value(java.lang.String name)
Get the enum value associated with the string name specified. |
static BorderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BorderType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
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 BorderType user_defined
public static final BorderType village
public static final BorderType town
public static final BorderType city
public static final BorderType township
public static final BorderType county
public static final BorderType prefecture
public static final BorderType state
public static final BorderType province
public static final BorderType borough
Method Detail |
---|
public static BorderType[] values()
for (BorderType c : BorderType.values()) System.out.println(c);
public static BorderType 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 byte getAdminLevel()
public static BorderType 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 |