public class

LocatorReverseGeocodeResult

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

Class Overview

Class containing the details of an address candidate, including the address fields and the exact location for the address candidate found based on the location provided.

To obtain the full address found, use the getAddressFields method and retrieve the value of each field.

Summary

Public Constructors
LocatorReverseGeocodeResult()
Public Methods
boolean equals(Object obj)
static LocatorReverseGeocodeResult fromJson(JsonParser parser)
Creates a LocatorReverseGeocodeResult object from its JSON String representation.
Map<String, String> getAddressFields()
Returns the address fields for this address candidate as a Map of address field names to their corresponding values.
Point getLocation()
The location for this result.
SpatialReference getSpatialreference()
The spatial reference of the location for this result.
int hashCode()
void setSpatialreference(SpatialReference spatialreference)
Sets the spatial reference of the LocatorResult.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public LocatorReverseGeocodeResult ()

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public static LocatorReverseGeocodeResult fromJson (JsonParser parser)

Creates a LocatorReverseGeocodeResult object from its JSON String representation.

Parameters
parser JsonParser: the parser
Returns
LocatorReverseGeocodeResult the locator reverse geocode result
Throws
Exception any exception occurring during JSON parsing

public Map<String, String> getAddressFields ()

Returns the address fields for this address candidate as a Map of address field names to their corresponding values.

Returns
Map<String, String> the address fields for this address candidate.

public Point getLocation ()

The location for this result.

Returns
Point the location for this result.

public SpatialReference getSpatialreference ()

The spatial reference of the location for this result.

Returns
SpatialReference the spatial reference for this result.

public int hashCode ()

Returns
int

public void setSpatialreference (SpatialReference spatialreference)

Sets the spatial reference of the LocatorResult.

Parameters
spatialreference SpatialReference: The spatial reference to set.

public String toString ()

Returns
String