@ReadingConverter public static enum GeoConverters.MapToGeoJsonPolygonConverter extends Enum<GeoConverters.MapToGeoJsonPolygonConverter> implements Converter<Map<String,Object>,GeoJsonPolygon>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
GeoJsonPolygon |
convert(Map<String,Object> source) |
static GeoConverters.MapToGeoJsonPolygonConverter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeoConverters.MapToGeoJsonPolygonConverter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeoConverters.MapToGeoJsonPolygonConverter INSTANCE
public static GeoConverters.MapToGeoJsonPolygonConverter[] values()
for (GeoConverters.MapToGeoJsonPolygonConverter c : GeoConverters.MapToGeoJsonPolygonConverter.values()) System.out.println(c);
public static GeoConverters.MapToGeoJsonPolygonConverter 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 GeoJsonPolygon convert(Map<String,Object> source)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.