Class 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 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
      • 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