Packagecom.mapquest
Classpublic class SearchCriteria
InheritanceSearchCriteria Inheritance MQObject
SubclassesPolySearchCriteria, RadiusSearchCriteria, RectSearchCriteria

Base class to define the criteria for a search. This class is not to be directly instantiated. Use one of its child classes instead.



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 SearchCriteria object.
SearchCriteria
  
getClassName():String
Returns the text name of this class.
SearchCriteria
  
Gets the data member of this object which indicates the maximum number of matches that are to be returned by the search.
SearchCriteria
  
Returns the version of this class.
SearchCriteria
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
 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
  
setMaxMatches(nMax:int):void
Sets the data member of this object which indicates the maximum number of matches that are to be returned by the search.
SearchCriteria
 Inherited
setProperty(path:String, value:Object):String
Sets values in xml.
MQObject
 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
SearchCriteria()constructor
public function SearchCriteria()

Constructs a new SearchCriteria object.

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

Returns the text name of this class.

Returns
String — The text name of this class.
getMaxMatches()method 
public function getMaxMatches():int

Gets the data member of this object which indicates the maximum number of matches that are to be returned by the search.

Returns
int — The maximum number of matches that are to be returned by the search
getObjectVersion()method 
public override function getObjectVersion():Number

Returns the version of this class.

Returns
Number — The version of this class.
setMaxMatches()method 
public function setMaxMatches(nMax:int):void

Sets the data member of this object which indicates the maximum number of matches that are to be returned by the search.

Parameters
nMax:int — nMax The maximum number of matches that are to be returned by the search.