GData JavaScript Client 1.4

Class google.gdata.client.Query

Object
   |
   +--google.gdata.client.Query
Direct Known Subclasses:
google.gdata.finance.PositionQuery, google.gdata.contacts.ContactQuery, google.gdata.blogger.BlogQuery, google.gdata.blogger.BlogPostQuery, google.gdata.blogger.BlogCommentQuery, google.gdata.calendar.CalendarEventQuery, google.gdata.finance.PortfolioQuery, google.gdata.calendar.CalendarCommentQuery, google.gdata.blogger.PostCommentQuery

class google.gdata.client.Query


Query. Sample usage:

   var query = new Query('http://feedUrl');
query.setParam('q', 'search text');
query.setParam('max-results', 10);
query.setParam('updated-min', '2007-07-07');
var uri = query.getUri();

Defined in gdata.js


Field Summary
 String feedUri
          Feed URI.
 
Constructor Summary
google.gdata.client.Query(<String> feedUri)
            Creates a Query instance.
 
Method Summary
 Object|Null getParam(<String> name)
           Returns the value of a parameter.
 String getPath()
           Gets path of URI
 String getUri()
           Gets URI of query
 void setParam(<String> name, <Object> value)
           Sets a parameter of the query.
 void setParamDef(<String> name, <Object> paramDef)
           Sets the definition of a parameter

Field Detail

feedUri

String feedUri

Constructor Detail

google.gdata.client.Query

google.gdata.client.Query(<String> feedUri)

Method Detail

getParam

Object|Null getParam(<String> name)

getPath

String getPath()

getUri

String getUri()

setParam

void setParam(<String> name, <Object> value)

setParamDef

void setParamDef(<String> name, <Object> paramDef)

GData JavaScript Client 1.4

Documentation generated by JSDoc on Mon Jul 21 17:09:08 2008