com. kelvinluck. flashr. core. ResultsSet

Handles the search responses from flickr.com packaging them up with relevant information about the query.

Each object which will tell you the page, numberOfPages, resultsPerPage and total number of Photos for a given search...  This is tied to information about the querystring which produced that search.

See Also

FlashrApiResponse._parsePhotoXml

Licence

This code and documentation is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0.  http://creativecommons.org/licenses/by-nc-sa/2.0/

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Version

0.5.0

Author

Kelvin Luck < kelvin at kelvinluck dot com >

Project Website

http://flashr.kelvinluck.com/

Subversion Id

$Id: ResultsSet.as 72 2006-09-01 00:33:02Z kluck $

Summary
com. kelvinluck. flashr. core. ResultsSetHandles the search responses from flickr.com packaging them up with relevant information about the query.
requestThe FlashrRequest which created this ResultsSet
pageThe page of results whose information is held here
numberOfPagesThe total number of pages available for this search
resultsPerPageThe number of results per page
totalThe total number of Photos for this search
photosAn Array containing all the relevant Photo objects returned by this search.
ResultSetConstructor
toString

request

var request: FlashrRequest

The FlashrRequest which created this ResultsSet

page

var page: Number

The page of results whose information is held here

numberOfPages

var numberOfPages: Number

The total number of pages available for this search

resultsPerPage

var resultsPerPage: Number

The number of results per page

total

var total: Number

The total number of Photos for this search

photos

var photos: Array

An Array containing all the relevant Photo objects returned by this search.

ResultSet

function ResultSet()

Constructor

toString

public function toString():String
var request: FlashrRequest
The FlashrRequest which created this ResultsSet
Class to hold information about requests to the Flickr API through Flashr
Handles the search responses from flickr.com packaging them up with relevant information about the query.
var page: Number
The page of results whose information is held here
var numberOfPages: Number
The total number of pages available for this search
var resultsPerPage: Number
The number of results per page
var total: Number
The total number of Photos for this search
Class to describe a photo from Flickr.
var photos: Array
An Array containing all the relevant Photo objects returned by this search.
function ResultSet()
Constructor
public function toString():String
private function _parsePhotoXml(px: XMLNode,
owner: Person):ResultsSet
Private internal function used to avoid duplicate code to parse “the standard photo list xml”