Packagecom.mapquest
Classpublic class GeoAddress
InheritanceGeoAddress Inheritance Address Inheritance Location Inheritance MQObject

Contains the results of geocoding an address.

See also

Location
Address
LatLng


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 GeoAddress object.
GeoAddress
 Inherited
getAdminArea(intIndex:int):String
Address
 Inherited
getCity():String
Gets city.
Address
  
getClassName():String
GeoAddress
 Inherited
getCountry():String
Gets country.
Address
 Inherited
getCounty():String
Gets county.
Address
  
getDistAlong():Number
Gets distAlong.
GeoAddress
  
getGEFID():int
Gets GEFID.
GeoAddress
  
Returns the LatLng object.
GeoAddress
 Inherited
Returns the version of this class.
MQObject
 Inherited
getPostalCode():String
Gets postal code.
Address
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
  
getResultCode():String
Gets ResultCode.
GeoAddress
  
getSourceId():String
Gets SourceId.
GeoAddress
 Inherited
getState():String
Gets state.
Address
 Inherited
getStreet():String
Gets street.
Address
 Inherited
Create a copy of this object.
MQObject
 Inherited
MQObject
 Inherited
MQObject
  
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
GeoAddress
 Inherited
readExternal(input:IDataInput):void
MQObject
  
saveXml():XML
Build xml that represents this object.
GeoAddress
 Inherited
setAdminArea(intIndex:int, strAdminArea:String):void
Sets admin area.
Address
 Inherited
setCity(strCity:String):void
Sets city.
Address
 Inherited
setCountry(strCountry:String):void
Sets country.
Address
 Inherited
setCounty(strCounty:String):void
Sets county.
Address
  
setDistAlong(dblDistAlong:Number):void
Sets distAlong.
GeoAddress
  
setGEFID(intGEFID:int):void
Sets GEFID.
GeoAddress
  
setLatLng(latLng:LatLng):void
Sets the LatLng object.
GeoAddress
 Inherited
setPostalCode(strPostalCode:String):void
Sets postal code.
Address
 Inherited
setProperty(path:String, value:Object):String
Sets values in xml.
MQObject
  
setResultCode(strResultCode:String):void
Sets ResultCode.
GeoAddress
  
setSourceId(strSourceId:String):void
Sets SourceId.
GeoAddress
 Inherited
setState(strState:String):void
Sets state.
Address
 Inherited
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
GeoAddress()constructor
public function GeoAddress()

Constructs a new GeoAddress object.

Method detail
getClassName()method
public override function getClassName():String

Returns
String
getDistAlong()method 
public function getDistAlong():Number

Gets distAlong.

Returns
Number — The distAlong value
getGEFID()method 
public function getGEFID():int

Gets GEFID.

Returns
int — The GEFID value
getLatLng()method 
public function getLatLng():LatLng

Returns the LatLng object.

Returns
LatLng — The LatLng object.
getResultCode()method 
public function getResultCode():String

Gets ResultCode.

Returns
String — The ResultCode value
getSourceId()method 
public function getSourceId():String

Gets SourceId.

Returns
String — The SourceId value
loadXml()method 
public override function loadXml(xmlPrm:XML):void

Assigns the xml that relates to this object.

Parameters
xmlPrm:XML — the xml to be assigned.
saveXml()method 
public override function saveXml():XML

Build xml that represents this object. Because this is a complex object we need to completely rebuild the xml.

Returns
XML — The xml.
setDistAlong()method 
public function setDistAlong(dblDistAlong:Number):void

Sets distAlong.

Parameters
dblDistAlong:Number — dblDistAlong the value to set distAlong to
setGEFID()method 
public function setGEFID(intGEFID:int):void

Sets GEFID.

Parameters
intGEFID:int — intGEFID the value to set GEFID to
setLatLng()method 
public function setLatLng(latLng:LatLng):void

Sets the LatLng object.

Parameters
latLng:LatLng — the Document to set LatLng to.
setResultCode()method 
public function setResultCode(strResultCode:String):void

Sets ResultCode.

Parameters
strResultCode:String — strResultCode the value to set ResultCode to
setSourceId()method 
public function setSourceId(strSourceId:String):void

Sets SourceId.

Parameters
strSourceId:String — strSourceId the value to set SourceId to