Class AddressComponent

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String longName
      The full text description or name of the address component as returned by the Geocoder.
      java.lang.String shortName
      An abbreviated textual name for the address component, if available.
      AddressComponentType[] types
      Indicates the type of each part of the address.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • longName

        public java.lang.String longName
        The full text description or name of the address component as returned by the Geocoder.
      • shortName

        public java.lang.String shortName
        An abbreviated textual name for the address component, if available. For example, an address component for the state of Alaska may have a longName of "Alaska" and a shortName of "AK" using the 2-letter postal abbreviation.
      • types

        public AddressComponentType[] types
        Indicates the type of each part of the address. Examples include street number or country.
    • Constructor Detail

      • AddressComponent

        public AddressComponent()
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object