Packagecom.mapquest
Classpublic class Address
InheritanceAddress Inheritance Location Inheritance MQObject
SubclassesGeoAddress

Contains information for geocoding and routing to and from addresses.



Public Properties
 PropertyDefined by
 InheritedCLASS_NAME : String = "MQObject"
[static]
MQObject
Protected Properties
 PropertyDefined by
 InheritedobjectVersion : Number = 0
Value to represent the version of this object
MQObject
 Inheritedxml : XML = null
MQObject
 Inheritedxpath : String
MQObject
Public Methods
 MethodDefined by
  
Constructs a new Address object.
Address
  
getAdminArea(intIndex:int):String
Address
  
getCity():String
Gets city.
Address
  
getClassName():String
Gets the Class Name.
Address
  
getCountry():String
Gets country.
Address
  
getCounty():String
Gets county.
Address
 Inherited
Returns the version of this class.
MQObject
  
getPostalCode():String
Gets postal code.
Address
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
  
getState():String
Gets state.
Address
  
getStreet():String
Gets street.
Address
 Inherited
Create a copy of this object.
MQObject
 Inherited
MQObject
 Inherited
MQObject
 Inherited
loadXml(xml:XML):void
New XML Handler
MQObject
 Inherited
readExternal(input:IDataInput):void
MQObject
 Inherited
saveXml():XML
New XML Handler
MQObject
  
setAdminArea(intIndex:int, strAdminArea:String):void
Sets admin area.
Address
  
setCity(strCity:String):void
Sets city.
Address
  
setCountry(strCountry:String):void
Sets country.
Address
  
setCounty(strCounty:String):void
Sets county.
Address
  
setPostalCode(strPostalCode:String):void
Sets postal code.
Address
 Inherited
setProperty(path:String, value:Object):String
Sets values in xml.
MQObject
  
setState(strState:String):void
Sets state.
Address
  
setStreet(strStreet:String):void
Sets street.
Address
 Inherited
setXpath(xpath:String):void
Sets the m_xpath object.
MQObject
 Inherited
writeExternal(output:IDataOutput):void
MQObject
Protected Methods
 MethodDefined by
 Inherited
getXML():XML
Returns the m_xmlDoc object.
MQObject
 Inherited
getXpath():String
Returns the xpath string.
MQObject
 Inherited
setXML(xml:XML):void
Sets the m_xmlDoc object.
MQObject
Constructor detail
Address()constructor
public function Address()

Constructs a new Address object.

Method detail
getAdminArea()method
public function getAdminArea(intIndex:int):StringParameters
intIndex:int

Returns
String
getCity()method 
public function getCity():String

Gets city.

Returns
String — The city value
getClassName()method 
public override function getClassName():String

Gets the Class Name.

Returns
String
getCountry()method 
public function getCountry():String

Gets country.

Returns
String — The country value
getCounty()method 
public function getCounty():String

Gets county.

Returns
String — The county value
getPostalCode()method 
public function getPostalCode():String

Gets postal code.

Returns
String — The postal code value
getState()method 
public function getState():String

Gets state.

Returns
String — The state value
getStreet()method 
public function getStreet():String

Gets street.

Returns
String — Returns string containing the street name.
setAdminArea()method 
public function setAdminArea(intIndex:int, strAdminArea:String):void

Sets admin area.

Parameters
intIndex:int — {int} intIndex Which admin area (1 - 7)
 
strAdminArea:String — strAdminArea The admin area value for intIndex
setCity()method 
public function setCity(strCity:String):void

Sets city.

Parameters
strCity:String — strCity The city value
setCountry()method 
public function setCountry(strCountry:String):void

Sets country.

Parameters
strCountry:String — strCountry The country value
setCounty()method 
public function setCounty(strCounty:String):void

Sets county.

Parameters
strCounty:String — strCounty The county value
setPostalCode()method 
public function setPostalCode(strPostalCode:String):void

Sets postal code.

Parameters
strPostalCode:String — strPostalCode The postal code value
setState()method 
public function setState(strState:String):void

Sets state.

Parameters
strState:String — strState The state value
setStreet()method 
public function setStreet(strStreet:String):void

Sets street.

Parameters
strStreet:String — Address