enum WkbGeometryType extends java.lang.Enum<WkbGeometryType>
WkbGeometryType values indicate the Geometry type of a WKB representation.| Enum Constant and Description |
|---|
GEOMETRY_COLLECTION |
LINE_STRING |
MULTI_LINE_STRING |
MULTI_POINT |
MULTI_POLYGON |
POINT |
POLYGON |
| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<? extends Geometry> |
geometryClass |
private int |
wkbType |
| Modifier and Type | Method and Description |
|---|---|
static WkbGeometryType |
forClass(java.lang.Class<? extends Geometry> geomClass) |
int |
getTypeCode() |
private static boolean |
isMoreSpecificClassMatch(WkbGeometryType candidate,
WkbGeometryType type) |
static WkbGeometryType |
parse(int typeCode) |
static WkbGeometryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WkbGeometryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WkbGeometryType POINT
public static final WkbGeometryType GEOMETRY_COLLECTION
public static final WkbGeometryType LINE_STRING
public static final WkbGeometryType POLYGON
public static final WkbGeometryType MULTI_POINT
public static final WkbGeometryType MULTI_POLYGON
public static final WkbGeometryType MULTI_LINE_STRING
private final int wkbType
private final java.lang.Class<? extends Geometry> geometryClass
public static WkbGeometryType[] values()
for (WkbGeometryType c : WkbGeometryType.values()) System.out.println(c);
public static WkbGeometryType 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 int getTypeCode()
public static WkbGeometryType parse(int typeCode)
public static WkbGeometryType forClass(java.lang.Class<? extends Geometry> geomClass)
private static boolean isMoreSpecificClassMatch(WkbGeometryType candidate, WkbGeometryType type)