MapQuest Advantage JavaScript API Reference Documentation

Class MQSession

Object
   |
   +--MQObject
         |
         +--MQObjectCollection
               |
               +--MQSession

class MQSession
extends MQObjectCollection


Uniquely identifies a MQSession. Maintains the state of the current user's requests. Contains zero or one of the following objects: MQMapCommand, MQMapState, MQDBLayerQueryCollection, MQFeatureCollection, and MQCoverageStyle.
See:

Defined in mqobjects.js


 
Fields inherited from class MQObjectCollection
m_items, m_maxItems, validClassName, m_itemXpath
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQSession ()
           
 
Method Summary
 void add(<MQObject> obj)
           Adds a MQObject to the collection.
 void addOne(<MQObject> newElement, <MQObject> replacedElement)
           Adds an element to this Session object, ensuring that it is the only one of its class type.
 String getClassName()
           Returns the text name of this class.
 int getObjectVersion()
           Returns the version of this class.
 Boolean isMapCommandObject(<MQObject> obj)
           Returns true if the specified object is a MapCommand object, false otherwise.
 Boolean isValidObject(<MQObject> obj)
           Returns true if the specified object is a valid object for this collection, false otherwise.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 
Methods inherited from class MQObjectCollection
getM_Items, getValidClassName, setValidClassName, getSize, get, remove, removeAll, contains, append, set, getM_itemXpath, setM_itemXpath, getById, removeItem, getAt
   
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Constructor Detail

MQSession

MQSession()

Method Detail

add

void add(<MQObject> obj)

addOne

void addOne(<MQObject> newElement, <MQObject> replacedElement)

getClassName

String getClassName()

getObjectVersion

int getObjectVersion()

isMapCommandObject

Boolean isMapCommandObject(<MQObject> obj)

isValidObject

Boolean isValidObject(<MQObject> obj)

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

MapQuest Advantage JavaScript API Reference Documentation

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