|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OSMLayerEnum>
org.ka2ddo.yaac.osm.OSMLayerEnum
public enum OSMLayerEnum
This enum identifies the information that will be stored in *.nodes and *.ways files by the OsmXmlSegmenter for use by OSMLayer. Note that the flag enum value has been removed to save storage, and another (non-persisted) value put in its place to keep the persisted values' ordinals stable.
Field Summary | |
---|---|
static int |
ADMINLEVEL_ORDINAL
|
static int |
AIRPORTID_ORDINAL
|
static int |
AMENITYTYPE_ORDINAL
|
static int |
AMENITYTYPENAME_ORDINAL
|
static int |
BORDER_TYPE2_ORDINAL
|
java.lang.Enum[] |
enumConstants
Ordered set of enumeration constants if the valueClass is a single specific subclass of java.lang.Enum. |
static int |
HAZMAT_ORDINAL
|
static int |
HIGHWAYNAME_ORDINAL
|
static int |
LANDUSE2_ORDINAL
|
static int |
LANES_ORDINAL
|
static int |
LAYER_ORDINAL
|
static int |
LEISURE_ORDINAL
|
static int |
MAN_MADE2_ORDINAL
|
static int |
MAXHEIGHT_ORDINAL
|
static int |
MAXSPEED_ORDINAL
|
static int |
MAXWEIGHT_ORDINAL
|
static int |
NAME_EN_ORDINAL
|
static int |
NAME_ORDINAL
|
static int |
NATURAL2_ORDINAL
|
static int |
ORDINAL_MAX
|
static int |
PLACE_ORDINAL
|
static int |
RELIGION_ORDINAL
|
int |
renderLevel
Specify whether this attribute provides useful information at render time. |
static int |
TYPE_ORDINAL
|
java.lang.Class |
valueClass
Class of the data type of values of this enumeration. |
int |
valueType
Value type associated with the enum. |
static int |
WAYTYPE_ORDINAL
|
static int |
WIDTH_ORDINAL
|
Method Summary | |
---|---|
int |
getRenderLevel()
Report whether this attribute provides useful information at render time. |
java.lang.Class |
getValueClass()
Class of the data type of values of this enumeration. |
java.lang.reflect.Constructor |
getValueClassConstructorOneArg()
Get the reflection Constructor for a value of this enum that will convert a String into the appropriate value object. |
int |
getValueType()
Get the value type associated with the enum. |
boolean |
isValueQuantityUnitMeasure()
Report whether attribute has a quantity unit of measure. |
static OSMLayerEnum[] |
nonClonedValues()
Get the original array of enum values for the OSMLayerEnum enumeration (not wasting memory or CPU on making a copy). |
static OSMLayerEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static OSMLayerEnum[] |
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 OSMLayerEnum religion
public static final OSMLayerEnum wayType
public static final OSMLayerEnum name
public static final OSMLayerEnum amenityTypeName
public static final OSMLayerEnum highwayName
public static final OSMLayerEnum maxweight
public static final OSMLayerEnum name_en
public static final OSMLayerEnum maxheight
public static final OSMLayerEnum hazmat
public static final OSMLayerEnum airportId
public static final OSMLayerEnum layer
public static final OSMLayerEnum adminlevel
public static final OSMLayerEnum maxspeed
public static final OSMLayerEnum man_made2
public static final OSMLayerEnum leisure
public static final OSMLayerEnum width
public static final OSMLayerEnum border_type2
public static final OSMLayerEnum natural2
public static final OSMLayerEnum landuse2
public static final OSMLayerEnum amenityType
public static final OSMLayerEnum type
public static final OSMLayerEnum lanes
public static final OSMLayerEnum place
Field Detail |
---|
public static final int RELIGION_ORDINAL
public static final int WAYTYPE_ORDINAL
public static final int NAME_ORDINAL
public static final int AMENITYTYPENAME_ORDINAL
public static final int HIGHWAYNAME_ORDINAL
public static final int MAXWEIGHT_ORDINAL
public static final int NAME_EN_ORDINAL
public static final int MAXHEIGHT_ORDINAL
public static final int HAZMAT_ORDINAL
public static final int AIRPORTID_ORDINAL
public static final int LAYER_ORDINAL
public static final int ADMINLEVEL_ORDINAL
public static final int MAXSPEED_ORDINAL
public static final int MAN_MADE2_ORDINAL
public static final int LEISURE_ORDINAL
public static final int WIDTH_ORDINAL
public static final int BORDER_TYPE2_ORDINAL
public static final int NATURAL2_ORDINAL
public static final int LANDUSE2_ORDINAL
public static final int AMENITYTYPE_ORDINAL
public static final int TYPE_ORDINAL
public static final int LANES_ORDINAL
public static final int PLACE_ORDINAL
public final java.lang.Class valueClass
public final java.lang.Enum[] enumConstants
public final int valueType
GenericTaggedNode.BYTE
,
GenericTaggedNode.ENUM
,
GenericTaggedNode.FLAGS
,
GenericTaggedNode.FLOAT
,
GenericTaggedNode.OBJECT
,
GenericTaggedNode.STRING
,
GenericTaggedNode.WAYTYPE
public final int renderLevel
RENDERLEVEL_NO
,
RENDERLEVEL_NONSELECT
,
RENDERLEVEL_SELECT
public static final int ORDINAL_MAX
Method Detail |
---|
public static OSMLayerEnum[] values()
for (OSMLayerEnum c : OSMLayerEnum.values()) System.out.println(c);
public static OSMLayerEnum 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 final java.lang.Class getValueClass()
public final int getValueType()
GenericTaggedNode.BYTE
,
GenericTaggedNode.ENUM
,
GenericTaggedNode.FLAGS
,
GenericTaggedNode.FLOAT
,
GenericTaggedNode.OBJECT
,
GenericTaggedNode.STRING
,
GenericTaggedNode.WAYTYPE
public final int getRenderLevel()
RENDERLEVEL_NO
,
RENDERLEVEL_NONSELECT
,
RENDERLEVEL_SELECT
public final boolean isValueQuantityUnitMeasure()
public final java.lang.reflect.Constructor getValueClassConstructorOneArg()
public static OSMLayerEnum[] nonClonedValues()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |