|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.lamatek.tags.google.beans.GeocoderBean
public class GeocoderBean
GeocoderBean
| Constructor Summary | |
|---|---|
GeocoderBean()
|
|
| Method Summary | |
|---|---|
boolean |
geocode()
If developers wish to use other geocoders other than the USAddressGeocoder and IntlAddressGeocoder, they should override this method to call the geocoder of their choice. |
java.lang.String |
getAddress()
|
java.lang.String |
getCity()
|
java.lang.String |
getCountry()
|
double |
getLatitude()
Returns the latitude (in decimal form) of the location geocoded. |
double |
getLongitude()
Returns the longitude (in decimal form) of the location geocoded. |
java.lang.String |
getPrecision()
Returns any precision information provided by the underlying geocoder. |
java.lang.String |
getState()
|
java.lang.String |
getWarning()
Returns any warnings given by the underlying geocoder. |
java.lang.String |
getZip()
|
void |
setAddress(java.lang.String address)
Sets the street address of the location to geocode. |
void |
setCity(java.lang.String city)
Sets the city name of the location to geocode. |
void |
setCountry(java.lang.String country)
Sets the country code for the location to geocode. |
void |
setState(java.lang.String state)
Sets the state/province of the location to geocode. |
void |
setZip(java.lang.String zip)
Sets the ZIP or Postal code of the location to geocode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GeocoderBean()
| Method Detail |
|---|
public boolean geocode()
geocode in interface Geocoderpublic java.lang.String getAddress()
public void setAddress(java.lang.String address)
Geocoder
setAddress in interface Geocoderaddress - A valid street address (i.e. 74 Connor Lane)public java.lang.String getCity()
public void setCity(java.lang.String city)
Geocoder
setCity in interface Geocodercity - The US or Internation city name.public java.lang.String getCountry()
public void setCountry(java.lang.String country)
Geocoder
setCountry in interface Geocodercountry - The ISO compliant 2-character country code.public java.lang.String getState()
public void setState(java.lang.String state)
Geocoder
setState in interface Geocoderstate - The US state or International province name.public java.lang.String getZip()
public void setZip(java.lang.String zip)
Geocoder
setZip in interface Geocoderzip - The US ZIP or International postal code.public double getLatitude()
Geocoder
getLatitude in interface Geocoderpublic double getLongitude()
Geocoder
getLongitude in interface Geocoderpublic java.lang.String getPrecision()
Geocoder
getPrecision in interface Geocoderpublic java.lang.String getWarning()
Geocoder
getWarning in interface Geocoder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||