|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.map.bing.Response<V>
V
- a result class implementing the Result
interfacepublic class Response<V extends Result>
Generic class to handle responses from Bing Maps services.
Please refer to this page for a description of a Bing Maps service response: http://msdn.microsoft.com/en-us/library /ff701707.aspx
Constructor Summary | |
---|---|
Response(Class<V> resultClass)
|
Method Summary | |
---|---|
void |
fromJson(org.codehaus.jackson.JsonParser parser)
Populates a Response using a Json response |
String |
getAuthenticationResultCode()
Returns the authentication code. |
URL |
getBrandLogoUri()
Returns the brand logo URI. |
String |
getCopyright()
Returns the copyright. |
int |
getOutSR()
Returns the output spatial reference of the results. |
List<V> |
getResults()
Returns a List of results |
int |
getStatusCode()
Returns the status code. |
String |
getStatusDescription()
Returns the status description |
String |
getTraceId()
Returns the trace ID |
void |
setOutSR(int outSR)
Sets the output spatial reference of the results. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Response(Class<V> resultClass)
Method Detail |
---|
public String getAuthenticationResultCode()
public URL getBrandLogoUri()
public String getCopyright()
public int getStatusCode()
public String getStatusDescription()
public String getTraceId()
public List<V> getResults()
List
of results
public int getOutSR()
public void setOutSR(int outSR)
outSR
- the outSR to setpublic void fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
parser
- JsonParser
containing the Json response
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |