java.io.Serializable
, java.lang.Comparable<GeoShapeType>
public enum GeoShapeType extends java.lang.Enum<GeoShapeType>
GeoShapeType
s that can be parsed and indexedEnum Constant | Description |
---|---|
CIRCLE |
|
ENVELOPE |
|
GEOMETRYCOLLECTION |
|
LINESTRING |
|
MULTILINESTRING |
|
MULTIPOINT |
|
MULTIPOLYGON |
|
POINT |
|
POLYGON |
Modifier and Type | Method | Description |
---|---|---|
static GeoShapeType |
forName(java.lang.String geoshapename) |
|
abstract ShapeBuilder |
getBuilder(CoordinateNode coordinates,
DistanceUnit.Distance radius,
ShapeBuilder.Orientation orientation,
boolean coerce) |
|
static java.util.List<NamedWriteableRegistry.Entry> |
getShapeWriteables() |
|
java.lang.String |
shapeName() |
|
java.lang.String |
toString() |
|
static GeoShapeType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static GeoShapeType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
java.lang.String |
wktName() |
wkt shape name
|
public static final GeoShapeType POINT
public static final GeoShapeType MULTIPOINT
public static final GeoShapeType LINESTRING
public static final GeoShapeType MULTILINESTRING
public static final GeoShapeType POLYGON
public static final GeoShapeType MULTIPOLYGON
public static final GeoShapeType ENVELOPE
public static final GeoShapeType CIRCLE
public static final GeoShapeType GEOMETRYCOLLECTION
public static GeoShapeType[] values()
for (GeoShapeType c : GeoShapeType.values()) System.out.println(c);
public static GeoShapeType 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 java.lang.String shapeName()
public static GeoShapeType forName(java.lang.String geoshapename)
public abstract ShapeBuilder getBuilder(CoordinateNode coordinates, DistanceUnit.Distance radius, ShapeBuilder.Orientation orientation, boolean coerce)
public java.lang.String wktName()
public static java.util.List<NamedWriteableRegistry.Entry> getShapeWriteables()
public java.lang.String toString()
toString
in class java.lang.Enum<GeoShapeType>