public static enum SimpleWKTShapeParser.ShapeType extends java.lang.Enum<SimpleWKTShapeParser.ShapeType>
Enum Constant and Description |
---|
ENVELOPE |
GEOMETRYCOLLECTION |
LINESTRING |
MULTILINESTRING |
MULTIPOINT |
MULTIPOLYGON |
POINT |
POLYGON |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
BBOX |
private java.lang.String |
shapeName |
private static java.util.Map<java.lang.String,SimpleWKTShapeParser.ShapeType> |
shapeTypeMap |
Modifier and Type | Method and Description |
---|---|
static SimpleWKTShapeParser.ShapeType |
forName(java.lang.String shapename) |
protected java.lang.String |
typename() |
static SimpleWKTShapeParser.ShapeType |
valueOf(java.lang.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.
|
java.lang.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
private final java.lang.String shapeName
private static java.util.Map<java.lang.String,SimpleWKTShapeParser.ShapeType> shapeTypeMap
private static final java.lang.String BBOX
public static SimpleWKTShapeParser.ShapeType[] values()
for (SimpleWKTShapeParser.ShapeType c : SimpleWKTShapeParser.ShapeType.values()) System.out.println(c);
public static SimpleWKTShapeParser.ShapeType 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 nullprotected java.lang.String typename()
public java.lang.String wktName()
public static SimpleWKTShapeParser.ShapeType forName(java.lang.String shapename)