Serializable
, Comparable<GeoJsonObjectType>
public enum GeoJsonObjectType extends Enum<GeoJsonObjectType>
Enum Constant | Description |
---|---|
GEOMETRY_COLLECTION |
A GeometryCollection
|
LINE_STRING |
A LineString
|
MULTI_LINE_STRING |
A MultiLineString
|
MULTI_POINT |
A MultiPoint
|
MULTI_POLYGON |
A MultiPolygon
|
POINT |
A Point
|
POLYGON |
A Polygon
|
Modifier and Type | Method | Description |
---|---|---|
String |
getTypeName() |
Gets the GeoJSON-defined name for the object type.
|
static GeoJsonObjectType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static GeoJsonObjectType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoJsonObjectType GEOMETRY_COLLECTION
public static final GeoJsonObjectType LINE_STRING
public static final GeoJsonObjectType MULTI_LINE_STRING
public static final GeoJsonObjectType MULTI_POINT
public static final GeoJsonObjectType MULTI_POLYGON
public static final GeoJsonObjectType POINT
public static final GeoJsonObjectType POLYGON
public static GeoJsonObjectType[] values()
for (GeoJsonObjectType c : GeoJsonObjectType.values()) System.out.println(c);
public static GeoJsonObjectType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getTypeName()