android.location
Class Address

java.lang.Object
  extended by android.location.Address
All Implemented Interfaces:
Parcelable

public class Address
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<Address> CREATOR
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
Address(Locale locale)
           
 
Method Summary
 void clearLatitude()
           
 void clearLongitude()
           
 int describeContents()
           
 String getAddressLine(int index)
           
 String getAdminArea()
           
 String getCountryCode()
           
 String getCountryName()
           
 Bundle getExtras()
           
 String getFeatureName()
           
 double getLatitude()
           
 Locale getLocale()
           
 String getLocality()
           
 double getLongitude()
           
 int getMaxAddressLineIndex()
           
 String getPhone()
           
 String getPostalCode()
           
 String getPremises()
           
 String getSubAdminArea()
           
 String getSubLocality()
           
 String getSubThoroughfare()
           
 String getThoroughfare()
           
 String getUrl()
           
 boolean hasLatitude()
           
 boolean hasLongitude()
           
 void setAddressLine(int index, String line)
           
 void setAdminArea(String adminArea)
           
 void setCountryCode(String countryCode)
           
 void setCountryName(String countryName)
           
 void setExtras(Bundle extras)
           
 void setFeatureName(String featureName)
           
 void setLatitude(double latitude)
           
 void setLocality(String locality)
           
 void setLongitude(double longitude)
           
 void setPhone(String phone)
           
 void setPostalCode(String postalCode)
           
 void setPremises(String premises)
           
 void setSubAdminArea(String subAdminArea)
           
 void setSubLocality(String sublocality)
           
 void setSubThoroughfare(String subthoroughfare)
           
 void setThoroughfare(String thoroughfare)
           
 void setUrl(String Url)
           
 String toString()
           
 void writeToParcel(Parcel parcel, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CREATOR

public static final Parcelable.Creator<Address> CREATOR
Constructor Detail

Address

public Address(Locale locale)
Method Detail

getLocale

public Locale getLocale()

getMaxAddressLineIndex

public int getMaxAddressLineIndex()

getAddressLine

public String getAddressLine(int index)

setAddressLine

public void setAddressLine(int index,
                           String line)

getFeatureName

public String getFeatureName()

setFeatureName

public void setFeatureName(String featureName)

getAdminArea

public String getAdminArea()

setAdminArea

public void setAdminArea(String adminArea)

getSubAdminArea

public String getSubAdminArea()

setSubAdminArea

public void setSubAdminArea(String subAdminArea)

getLocality

public String getLocality()

setLocality

public void setLocality(String locality)

getSubLocality

public String getSubLocality()

setSubLocality

public void setSubLocality(String sublocality)

getThoroughfare

public String getThoroughfare()

setThoroughfare

public void setThoroughfare(String thoroughfare)

getSubThoroughfare

public String getSubThoroughfare()

setSubThoroughfare

public void setSubThoroughfare(String subthoroughfare)

getPremises

public String getPremises()

setPremises

public void setPremises(String premises)

getPostalCode

public String getPostalCode()

setPostalCode

public void setPostalCode(String postalCode)

getCountryCode

public String getCountryCode()

setCountryCode

public void setCountryCode(String countryCode)

getCountryName

public String getCountryName()

setCountryName

public void setCountryName(String countryName)

hasLatitude

public boolean hasLatitude()

getLatitude

public double getLatitude()

setLatitude

public void setLatitude(double latitude)

clearLatitude

public void clearLatitude()

hasLongitude

public boolean hasLongitude()

getLongitude

public double getLongitude()

setLongitude

public void setLongitude(double longitude)

clearLongitude

public void clearLongitude()

getPhone

public String getPhone()

setPhone

public void setPhone(String phone)

getUrl

public String getUrl()

setUrl

public void setUrl(String Url)

getExtras

public Bundle getExtras()

setExtras

public void setExtras(Bundle extras)

toString

public String toString()
Overrides:
toString in class Object

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel parcel,
                          int flags)
Specified by:
writeToParcel in interface Parcelable


Copyright © 2008-2012. All Rights Reserved.