public class GeoQueryElement extends QueryElementDecorator
| Modifier and Type | Field and Description |
|---|---|
protected String |
role |
el| Constructor and Description |
|---|
GeoQueryElement(Element query,
Map<String,String> nsPrefixes,
QueryElement el)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getQueryParameters()
Returns all parameters contained in the query element along with their corresponding values
|
void |
parse()
Processes a query element
|
describesExampleQuery, getCount, getInputEncoding, getLanguage, getOutputEncoding, getRole, getSearchTerms, getStartIndex, getStartPage, getTitle, getTotalResults, isRoleSupportedprotected String role
public GeoQueryElement(Element query, Map<String,String> nsPrefixes, QueryElement el)
query - A DOM element that will be processed in order to create a BasicQueryElement instancepublic void parse()
throws Exception
parse in interface QueryElementparse in class QueryElementDecoratorException - If the query element is not valid according to the OpenSearch specification or in case of other errorQueryElement.parse()public Map<String,String> getQueryParameters() throws Exception
getQueryParameters in interface QueryElementgetQueryParameters in class QueryElementDecoratorException - In case of errorQueryElement.getQueryParameters()Copyright © 2014. All Rights Reserved.