com.esri.json
public class EsriFeature extends Object
| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
attributes
Map of attributes
|
com.esri.core.geometry.Geometry |
geometry
Geometry associated with this feature
|
| Constructor and Description |
|---|
EsriFeature() |
| Modifier and Type | Method and Description |
|---|---|
static EsriFeature |
fromJson(InputStream jsonStream) |
static EsriFeature |
fromJson(org.codehaus.jackson.JsonParser parser) |
String |
toJson() |
public com.esri.core.geometry.Geometry geometry
public String toJson() throws org.codehaus.jackson.JsonGenerationException, org.codehaus.jackson.map.JsonMappingException, IOException
org.codehaus.jackson.JsonGenerationExceptionorg.codehaus.jackson.map.JsonMappingExceptionIOExceptionpublic static EsriFeature fromJson(InputStream jsonStream) throws org.codehaus.jackson.JsonParseException, IOException
jsonStream - JSON input streamorg.codehaus.jackson.JsonParseExceptionIOExceptionpublic static EsriFeature fromJson(org.codehaus.jackson.JsonParser parser) throws org.codehaus.jackson.JsonParseException, IOException
JsonParser - parser that is pointed at the root of the JSON file created by ArcGISorg.codehaus.jackson.JsonParseExceptionIOExceptionCopyright © 2014. All Rights Reserved.