Class GeocoderResultData
- java.lang.Object
-
- org.wicketstuff.gmap.geocoder.pojos.GeocoderResultData
-
public class GeocoderResultData extends Object
TheGeocoderResultData
is equivalent POJO to Googles Results as JSON Object.
See also the documentation of Google.
Google Geocoder Result Documentation
Note:
The most documentation in this class a have been adopted by Google documentation.
Say thank you to Google!- Author:
- Mathias Born - Contact: www.mathiasborn.de
-
-
Constructor Summary
Constructors Constructor Description GeocoderResultData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeocoderAddress[]
getAddressComponents()
Get an array containing the separate address componentsString
getFormattedAdress()
Get the human-readable address of this locationGeocoderGeometry
getGeometry()
String[]
getTypes()
Get zero or more tags identifying the type of featurevoid
setAddressComponents(GeocoderAddress[] addressComponents)
Set an array containing the separate address componentsvoid
setFormattedAdress(String formattedAdress)
Set the human-readable address of this locationvoid
setGeometry(GeocoderGeometry geometry)
void
setTypes(String[] types)
Set zero or more tags identifying the type of feature
-
-
-
Method Detail
-
getAddressComponents
public GeocoderAddress[] getAddressComponents()
Get an array containing the separate address components- Returns:
- the addressComponents
-
setAddressComponents
public void setAddressComponents(GeocoderAddress[] addressComponents)
Set an array containing the separate address components- Parameters:
addressComponents
- the addressComponents to set
-
getFormattedAdress
public String getFormattedAdress()
Get the human-readable address of this location- Returns:
- the formattedAdress
-
setFormattedAdress
public void setFormattedAdress(String formattedAdress)
Set the human-readable address of this location- Parameters:
formattedAdress
- the formattedAdress to set
-
getGeometry
public GeocoderGeometry getGeometry()
- Returns:
- the geometry
-
setGeometry
public void setGeometry(GeocoderGeometry geometry)
- Parameters:
geometry
- the geometry to set
-
getTypes
public String[] getTypes()
Get zero or more tags identifying the type of feature- Returns:
- the types
-
setTypes
public void setTypes(String[] types)
Set zero or more tags identifying the type of feature- Parameters:
types
- the types to set
-
-