public static enum SimpleWKTShapeParser.ShapeType extends Enum<SimpleWKTShapeParser.ShapeType>
Enum Constant and Description |
---|
ENVELOPE |
GEOMETRYCOLLECTION |
LINESTRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
Modifier and Type | Method and Description |
---|---|
static SimpleWKTShapeParser.ShapeType |
forName(String shapename) |
protected String |
typename() |
static SimpleWKTShapeParser.ShapeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleWKTShapeParser.ShapeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
wktName()
wkt shape name
|
public static final SimpleWKTShapeParser.ShapeType POINT
public static final SimpleWKTShapeParser.ShapeType MULTIPOINT
public static final SimpleWKTShapeParser.ShapeType LINESTRING
public static final SimpleWKTShapeParser.ShapeType MULTILINESTRING
public static final SimpleWKTShapeParser.ShapeType POLYGON
public static final SimpleWKTShapeParser.ShapeType MULTIPOLYGON
public static final SimpleWKTShapeParser.ShapeType GEOMETRYCOLLECTION
public static final SimpleWKTShapeParser.ShapeType ENVELOPE
public static SimpleWKTShapeParser.ShapeType[] values()
for (SimpleWKTShapeParser.ShapeType c : SimpleWKTShapeParser.ShapeType.values()) System.out.println(c);
public static SimpleWKTShapeParser.ShapeType 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 nullprotected String typename()
public String wktName()
public static SimpleWKTShapeParser.ShapeType forName(String shapename)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.