public enum WKTGeometryType extends Enum<WKTGeometryType>
| Enum Constant and Description |
|---|
Box |
Circle |
Hexagon |
LineString |
Pentagon |
Point |
Polygon |
Square |
Triangle |
| Modifier and Type | Method and Description |
|---|---|
static List<WKTGeometryType> |
asList() |
static WKTGeometryType |
getFromLabel(String label) |
String |
getId() |
String |
getLabel() |
String |
toString() |
static WKTGeometryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WKTGeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WKTGeometryType Point
public static final WKTGeometryType LineString
public static final WKTGeometryType Polygon
public static final WKTGeometryType Circle
public static final WKTGeometryType Triangle
public static final WKTGeometryType Square
public static final WKTGeometryType Pentagon
public static final WKTGeometryType Hexagon
public static final WKTGeometryType Box
public static WKTGeometryType[] values()
for (WKTGeometryType c : WKTGeometryType.values()) System.out.println(c);
public static WKTGeometryType 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 toString()
toString in class Enum<WKTGeometryType>public String getLabel()
public String getId()
public static WKTGeometryType getFromLabel(String label)
label - labelpublic static List<WKTGeometryType> asList()
Copyright © 2017. All Rights Reserved.