public enum GeometrySerializationType extends Enum<GeometrySerializationType>
| Enum Constant and Description |
|---|
ENVELOPE |
GEOMETRY_COLLECTION |
LINE_STRING |
MULTI_LINE_STRING |
MULTI_POINT |
MULTI_POLYGON |
POINT |
POLYGON |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
GeometryType |
geometryType() |
static GeometrySerializationType |
getForCode(int code) |
static GeometrySerializationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeometrySerializationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeometrySerializationType POINT
public static final GeometrySerializationType MULTI_POINT
public static final GeometrySerializationType LINE_STRING
public static final GeometrySerializationType MULTI_LINE_STRING
public static final GeometrySerializationType POLYGON
public static final GeometrySerializationType MULTI_POLYGON
public static final GeometrySerializationType GEOMETRY_COLLECTION
public static final GeometrySerializationType ENVELOPE
public static GeometrySerializationType[] values()
for (GeometrySerializationType c : GeometrySerializationType.values()) System.out.println(c);
public static GeometrySerializationType 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 int code()
public GeometryType geometryType()
public static GeometrySerializationType getForCode(int code)
Copyright © 2012–2019. All rights reserved.