com.yahoo.search.xmlparser
Class XmlParserWebSearchResults

java.lang.Object
  extended by com.yahoo.search.xmlparser.XmlParserWebSearchResults
All Implemented Interfaces:
WebSearchResults

public class XmlParserWebSearchResults
extends Object
implements WebSearchResults


Constructor Summary
XmlParserWebSearchResults(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.
 WebSearchResult[] 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

XmlParserWebSearchResults

public XmlParserWebSearchResults(Map root)
Method Detail

getTotalResultsAvailable

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

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

getTotalResultsReturned

public BigInteger getTotalResultsReturned()
Description copied from interface: WebSearchResults
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 WebSearchResults
Returns:
The number of query matches returned.

getFirstResultPosition

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

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

listResults

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

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