com.yahoo.search.xmlparser
Class XmlParserVideoSearchResults

java.lang.Object
  extended by com.yahoo.search.xmlparser.XmlParserVideoSearchResults
All Implemented Interfaces:
VideoSearchResults

public class XmlParserVideoSearchResults
extends Object
implements VideoSearchResults


Constructor Summary
XmlParserVideoSearchResults(Map root)
           
 
Method Summary
 BigInteger getFirstResultPosition()
          The position of the first result in the overall search.
 BigInteger getTotalResultsAvailable()
          The number of query matches in the database.
 BigInteger getTotalResultsReturned()
          The number of query matches returned.
 VideoSearchResult[] listResults()
          The list (in order) of results from the search.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlParserVideoSearchResults

public XmlParserVideoSearchResults(Map root)
Method Detail

getTotalResultsAvailable

public BigInteger getTotalResultsAvailable()
Description copied from interface: VideoSearchResults
The number of query matches in the database.

Specified by:
getTotalResultsAvailable in interface VideoSearchResults
Returns:
The number of query matches in the database.

getTotalResultsReturned

public BigInteger getTotalResultsReturned()
Description copied from interface: VideoSearchResults
The number of query matches returned. This may be lower than the number of results requested if there were fewer total results available.

Specified by:
getTotalResultsReturned in interface VideoSearchResults
Returns:
The number of query matches returned.

getFirstResultPosition

public BigInteger getFirstResultPosition()
Description copied from interface: VideoSearchResults
The position of the first result in the overall search.

Specified by:
getFirstResultPosition in interface VideoSearchResults
Returns:
The position of the first result in the overall search.

listResults

public VideoSearchResult[] listResults()
Description copied from interface: VideoSearchResults
The list (in order) of results from the search.

Specified by:
listResults in interface VideoSearchResults
Returns:
The list (in order) of results from the search.