public class

BatchGeocodeResult

extends Object
java.lang.Object
   ↳ com.esri.core.tasks.geocode.BatchGeocodeResult

Class Overview

Class representing the results of a batch geocoding operation. A BatchGeocodeResult is simply a collection of LocatorGeocodeResult and a spatial reference.

Summary

Public Constructors
BatchGeocodeResult()
Public Methods
static BatchGeocodeResult fromJson(JsonParser parser)
Construct a batch geocode result object from a JSON response.
List<LocatorGeocodeResult> getLocations()
Get a list of the results for the batch geocoding operation.
SpatialReference getSpatialReference()
Get the spatial reference of the returned geometries.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public BatchGeocodeResult ()

Public Methods

public static BatchGeocodeResult fromJson (JsonParser parser)

Construct a batch geocode result object from a JSON response.

Parameters
parser JsonParser: The JSON parser containing the JSON response.
Returns
BatchGeocodeResult a BatchGeocodeResult object.
Throws
Exception
Exception

public List<LocatorGeocodeResult> getLocations ()

Get a list of the results for the batch geocoding operation.

Returns
List<LocatorGeocodeResult> a list of LocatorGeocodeResult, each corresponding to an input address.

public SpatialReference getSpatialReference ()

Get the spatial reference of the returned geometries.

Returns
SpatialReference the spatial reference of the geometries on the results.