com.jgoodies.bookfinder.request.query
Interface XMLQuery

All Known Implementing Classes:
AuthorQuery, KeywordQuery, SimulatedKeywordQuery

public interface XMLQuery

An interface that defines an XML query to the Amazon.com web services.

Version:
$Revision: 1.5 $
Author:
Karsten Lentzsch

Method Summary
 SearchResult executeQuery()
          Executes this XML query and returns the SearchResult object generated by the query.
 String getSearchData()
          Returns this query's search data, for example: 'gui', or 'arno schmidt'.
 String getSearchType()
          Returns this query's search type, for example: author, key, or ISBN.
 

Method Detail

executeQuery

SearchResult executeQuery()
                          throws IOException,
                                 org.jdom.JDOMException
Executes this XML query and returns the SearchResult object generated by the query.

Throws:
IOException
org.jdom.JDOMException

getSearchType

String getSearchType()
Returns this query's search type, for example: author, key, or ISBN.

Returns:
this query's search type

getSearchData

String getSearchData()
Returns this query's search data, for example: 'gui', or 'arno schmidt'.

Returns:
this query's search data


Copyright © 2002-2008 JGoodies Karsten Lentzsch. All Rights Reserved.