public enum GeoJsonParseType extends java.lang.Enum<GeoJsonParseType>
Enum Constant and Description |
---|
ALL
Parse the GeoJSON objects of the types: Point, LineString, Polygon, MultiPoint , MultiLineString, MultiPolygon, GeometryCollection, Feature and FeatureCollection
|
ALL_WITH_GEOMETRIES
Parse the GeoJSON objects of the types: Point, LineString, Polygon, MultiPoint , MultiLineString, MultiPolygon, GeometryCollection and Feature
|
FEATURE_COLLECTIONS
Parse the GeoJSON objects of type FeatureCollection
|
FEATURES
Parse the GeoJSON objects of type Feature
|
GEOMETRY_COLLECTIONS
Parse the GeoJSON objects of type GeometryCollection
|
SIMPLE_GEOMETRIES
Parse the GeoJSON objects of the types: Point, LineString, Polygon, MultiPoint , MultiLineString and MultiPolygon
|
Modifier and Type | Method and Description |
---|---|
static GeoJsonParseType |
parseString(java.lang.String typeStr)
Returns the GeoJsonParseType object related to the specified string.
|
java.lang.String |
toString() |
static GeoJsonParseType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeoJsonParseType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final GeoJsonParseType ALL
public static final GeoJsonParseType ALL_WITH_GEOMETRIES
public static final GeoJsonParseType FEATURE_COLLECTIONS
public static final GeoJsonParseType FEATURES
public static final GeoJsonParseType GEOMETRY_COLLECTIONS
public static final GeoJsonParseType SIMPLE_GEOMETRIES
public static GeoJsonParseType parseString(java.lang.String typeStr)
typeStr
- type stringpublic java.lang.String toString()
toString
in class java.lang.Enum<GeoJsonParseType>
public static GeoJsonParseType 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 static GeoJsonParseType[] values()
for (GeoJsonParseType c : GeoJsonParseType.values()) System.out.println(c);
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.