com.esri.core.tasks.ags.geocode
Class LocatorReverseGeocodeResult

java.lang.Object
  extended by com.esri.core.tasks.ags.geocode.LocatorReverseGeocodeResult

public class LocatorReverseGeocodeResult
extends Object

Class containing the details of an address candidate such as the address fields and the accurate location for the address candidate.

Since:
1.0

Constructor Summary
LocatorReverseGeocodeResult()
           
 
Method Summary
 boolean equals(Object obj)
           
static LocatorReverseGeocodeResult fromJson(org.codehaus.jackson.JsonParser parser)
           
 Map<String,String> getAddressFields()
          Returns the address fields for this address candidate.
 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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocatorReverseGeocodeResult

public LocatorReverseGeocodeResult()
Method Detail

getAddressFields

public Map<String,String> getAddressFields()
Returns the address fields for this address candidate.

Returns:
the address fields for this address candidate.
Since:
1.0

fromJson

public static LocatorReverseGeocodeResult fromJson(org.codehaus.jackson.JsonParser parser)
                                            throws Exception
Parameters:
parser -
Returns:
Throws:
Exception
Since:
1.0

toString

public String toString()
Overrides:
toString in class Object
Since:
1.0

hashCode

public int hashCode()
Since:
1.0

equals

public boolean equals(Object obj)
Since:
1.0

getSpatialreference

public SpatialReference getSpatialreference()
The spatial reference of the location for this result.

Returns:
the spatial reference for this result.

setSpatialreference

public void setSpatialreference(SpatialReference spatialreference)
Sets the spatial reference of the LocatorResult.

Parameters:
spatialreference - The spatial reference to set.

getLocation

public Point getLocation()
The location for this result.

Returns:
the location for this result.


Copyright © 2012. All Rights Reserved.