MapQuest Advantage JavaScript API Reference Documentation

Class MQObject

Object
   |
   +--MQObject
Direct Known Subclasses:
MQMapState, MQAutoRouteCovSwitch, MQTrekRoute, MQFeature, MQRouteMatrixResults, MQObjectCollection, MQDBLayerQuery, MQFeatureSpecifier, MQMapCommand, MQLatLng, MQAutoGeocodeCovSwitch, MQRecordSet, MQSign, MQPoint, MQRouteResults, MQSearchCriteria, MQManeuver, MQLocation, MQPrimitive, MQBaseDTStyle, MQRouteOptions, MQGeocodeOptions

class MQObject


Base class for almost all objects in the api.
Defined in mqcommon.js


Field Summary
<private>  Document m_xmlDoc
          Value to represent the xml
<private>  Document m_xpath
          Value to represent the xpath of this object
 
Constructor Summary
MQObject ()
            Constructs a new MQObject object.
 
Method Summary
 MQObject copy()
           Create a copy of this object.
 String getClassName()
           Returns the text name of this class.
 Document getM_XmlDoc()
           Returns the m_xmlDoc object.
 String getM_Xpath()
           Returns the m_xpath string.
 int getObjectVersion()
           Returns the version of this class.
 String getProperty(<String> strPropName)
           Gets values from xml.
 <private>  MQObject internalCopy(obj)
           Create a copy of this object where the outermost tag remains the same.
 void setM_XmlDoc(<Document> xmlDoc)
           Sets the m_xmlDoc object.
 void setM_Xpath(<String> xpath)
           Sets the m_xpath object.
 void setProperty(<String> strPropName, <String> strPropValue)
           Sets values in xml.

Field Detail

m_xmlDoc

<private> Document m_xmlDoc

m_xpath

<private> Document m_xpath

Constructor Detail

MQObject

MQObject()

Method Detail

copy

MQObject copy()

getClassName

String getClassName()

getM_XmlDoc

Document getM_XmlDoc()

getM_Xpath

String getM_Xpath()

getObjectVersion

int getObjectVersion()

getProperty

String getProperty(<String> strPropName)

internalCopy

 <private> MQObject internalCopy(obj)

setM_XmlDoc

void setM_XmlDoc(<Document> xmlDoc)

setM_Xpath

void setM_Xpath(<String> xpath)

setProperty

void setProperty(<String> strPropName, <String> strPropValue)

MapQuest Advantage JavaScript API Reference Documentation

Documentation generated by JSDoc on Tue Oct 16 08:04:12 2007