类 AddressComponent
java.lang.Object
ai.nextbillion.maps.model.AddressComponent
- 所有已实现的接口:
java.io.Serializable
public class AddressComponent
extends java.lang.Object
implements java.io.Serializable
The parts of an address.
See Address Types and Address Component Types in the Google Maps Geocoding API Developer's Guide for more detail.
- 另请参阅:
- 序列化表格
-
字段概要
字段 修饰符和类型 字段 说明 java.lang.StringlongNameThe full text description or name of the address component as returned by the Geocoder.java.lang.StringshortNameAn abbreviated textual name for the address component, if available.AddressComponentType[]typesIndicates the type of each part of the address. -
构造器概要
构造器 构造器 说明 AddressComponent() -
方法概要
修饰符和类型 方法 说明 java.lang.StringtoString()
-
字段详细资料
-
longName
public java.lang.String longNameThe full text description or name of the address component as returned by the Geocoder. -
shortName
public java.lang.String shortNameAn 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
Indicates the type of each part of the address. Examples include street number or country.
-
-
构造器详细资料
-
AddressComponent
public AddressComponent()
-
-
方法详细资料
-
toString
public java.lang.String toString()- 覆盖:
toString在类中java.lang.Object
-