org.wicketstuff.gmap.geocoder.pojos
Class GeocoderResultData

java.lang.Object
  extended by org.wicketstuff.gmap.geocoder.pojos.GeocoderResultData

public class GeocoderResultData
extends Object

The GeocoderResultData 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
GeocoderResultData()
           
 
Method Summary
 GeocoderAddress[] getAddressComponents()
          Get an array containing the separate address components
 String getFormattedAdress()
          Get the human-readable address of this location
 GeocoderGeometry getGeometry()
           
 String[] getTypes()
          Get zero or more tags identifying the type of feature
 void setAddressComponents(GeocoderAddress[] addressComponents)
          Set an array containing the separate address components
 void setFormattedAdress(String formattedAdress)
          Set the human-readable address of this location
 void setGeometry(GeocoderGeometry geometry)
           
 void setTypes(String[] types)
          Set zero or more tags identifying the type of feature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeocoderResultData

public GeocoderResultData()
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


Copyright © 2016. All rights reserved.