public class QueryParser extends Object
| Constructor and Description |
|---|
QueryParser(String queryString,
String[] fixedParams)
Creates a new instance and processes the query and fixed parameter strings
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getFixedParamsMap()
Retrieves all fixed parameter name-value mappings
|
String |
getFixedTerms()
Retrieves the fixed parameter corresponding to the searchTerms standard OpenSearch parameter
|
Set<String> |
getNamespaces()
Retrieves all namespaces present in the OpenSearch query and the fixed parameters
|
Map<String,String> |
getParams()
Retrieves all parameter name-value mappings
|
String |
getTerms()
Retrieves the search terms, as specified by the searchTerms standard OpenSearch parameter
|
public QueryParser(String queryString, String[] fixedParams) throws UnsupportedEncodingException
queryString - The OpenSearch operator query stringfixedParams - The fixed parameters arrayUnsupportedEncodingException - If the encoding used to decode the encoded namespace prefixes is not supportedpublic String getTerms()
public Map<String,String> getParams()
public String getFixedTerms()
public Map<String,String> getFixedParamsMap()
Copyright © 2014. All Rights Reserved.