|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryElement
Interface of the Query Element class that is used to process Query elements contained in a DescriptionDocument
| Method Summary | |
|---|---|
boolean |
describesExampleQuery()
Determines whethe the query element describes an example query |
String |
getCount()
Returns the value of the count OpenSearch parameter contained in the query element |
String |
getInputEncoding()
Returns the value of the inputEncoding OpenSearch parameter contained in the query element |
String |
getLanguage()
Returns the value of the language OpenSearch parameter contained in the query element |
String |
getOutputEncoding()
Returns the value of the outputEncoding OpenSearch parameter contained in the query element |
Map<String,String> |
getQueryParameters()
Returns all parameters contained in the query element along with their corresponding values |
String |
getRole()
Returns the role of the search request described in the query element |
String |
getSearchTerms()
Returns the value of the searchTerms OpenSearch parameter contained in the query element |
String |
getStartIndex()
Returns the value of the startIndex OpenSearch parameter contained in the query element |
String |
getStartPage()
Returns the value of the startPage OpenSearch parameter contained in the query element |
String |
getTitle()
Returns a description describing the search request described in the query element |
String |
getTotalResults()
Returns the expected number of results that will be returned if the search request contained in the query element were made |
boolean |
isRoleSupported()
Determines whether the query element supports the query role provided |
void |
parse()
Processes a query element |
| Method Detail |
|---|
void parse()
throws Exception
Exception - If the query element is not valid according to the OpenSearch specification or in case of other error
String getRole()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getTitle()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getTotalResults()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getSearchTerms()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getCount()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getStartIndex()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getStartPage()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getLanguage()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getInputEncoding()
throws Exception
Exception - If the query element is not initialized or in case of other error
String getOutputEncoding()
throws Exception
Exception - If the query element is not initialized or in case of other error
boolean describesExampleQuery()
throws Exception
Exception - If the query element is not initialized or in case of other error
Map<String,String> getQueryParameters()
throws Exception
Exception - In case of error
boolean isRoleSupported()
throws Exception
Exception - If the query element is not initialized or in case of other error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||