|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jgoodies.bookfinder.request.query.KeywordQuery
public final class KeywordQuery
An implementation of XMLQuery
that performs
a keyword search using the Amazon.com web services.
Constructor Summary | |
---|---|
KeywordQuery(WebService webService,
String searchData)
Constructs a keyword query using the specified web service and search data. |
Method Summary | |
---|---|
SearchResult |
executeQuery()
Executes this XML query and returns the SearchResult object
generated by the query. |
protected SearchResult |
executeQuery(int pageNo)
Executes this XML query using the specified page number and returns the SearchResult object generated by the query. |
protected String |
getOperation()
Returns the query's search code, as used in the query URL, for example: 'KeywordSearch'. |
protected URL |
getQueryURL(int pageNo)
Computes and returns the URL used to execute this query for the specified page no. |
protected String |
getResponseGroup()
|
String |
getSearchData()
Returns the query's search data, for example: 'gui', or 'arno schmidt'. |
protected String |
getSearchIndex()
|
String |
getSearchType()
Returns the query's search type, for example: 'author', 'key', or ISBN. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeywordQuery(WebService webService, String searchData)
Method Detail |
---|
public String getSearchType()
getSearchType
in interface XMLQuery
protected String getOperation()
public SearchResult executeQuery() throws IOException, org.jdom.JDOMException
SearchResult
object
generated by the query.
executeQuery
in interface XMLQuery
IOException
org.jdom.JDOMException
public String getSearchData()
getSearchData
in interface XMLQuery
protected SearchResult executeQuery(int pageNo) throws IOException, org.jdom.JDOMException
SearchResult
object generated by the query.
IOException
org.jdom.JDOMException
protected URL getQueryURL(int pageNo)
protected String getResponseGroup()
protected String getSearchIndex()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |