|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.tasks.bing.geocode.BingLocatorResult
public class BingLocatorResult
This class represents a Bing Maps result containing an address and its locations returned by a geocode or reverse-geocode request. You can refer to the Bing Maps documentation GeocodeResult Class for more information.
| Constructor Summary | |
|---|---|
BingLocatorResult()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
void |
fromJson(org.codehaus.jackson.JsonParser parser,
int pOutSR)
Populates a BingLocatorResult using a Json response and projecting the locations to the output spatial reference if any provided (i.e. |
BingAddress |
getAddress()
Returns the address |
Envelope |
getBestView()
Returns the best extent for the address to be displayed |
BingConfidence |
getConfidence()
Returns the confidence in the relevance of the result |
String |
getDisplayName()
Returns the display name of this result |
String |
getEntityType()
Returns the entity type of the result |
List<Point> |
getLocations()
Get the locations for this result. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BingLocatorResult()
| Method Detail |
|---|
public BingAddress getAddress()
addresspublic Envelope getBestView()
Envelopepublic BingConfidence getConfidence()
confidencepublic String getDisplayName()
public String getEntityType()
Returns the entity type of the result
To get a list of the possible values, please refer to this page: http://msdn.microsoft.com/en-us/library/ff728811.aspx
public List<Point> getLocations()
public void fromJson(org.codehaus.jackson.JsonParser parser,
int pOutSR)
throws Exception
Populates a BingLocatorResult using a Json response and projecting the locations to the output spatial reference if any provided (i.e. WKID != -1)
fromJson in interface Resultparser - JsonParser containing the Json responsepOutSR - the output spatial reference for the results
Exceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||