public class SearchQueryGenerator extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
SearchQueryGenerator(java.lang.String queryId,
java.util.Hashtable replacementMap)
Constructor of SearchQueryGenerator
|
| Modifier and Type | Method and Description |
|---|---|
org.ecoinformatics.ecogrid.queryservice.query.QueryType |
getQuery()
Method to get query which generate by this class
|
protected static final org.apache.commons.logging.Log log
public SearchQueryGenerator(java.lang.String queryId, java.util.Hashtable replacementMap) throws InvalidEcogridQueryException
queryId - String the queryId which will be found in configreplacementMap - Hashtable the hash table which contain the key - be replaced
value value - replacement For example, if key is "#value#",
and value is "soil". This means any element and attribute in
xml has value "#value#" will be replaced by soilInvalidEcogridQueryExceptionpublic org.ecoinformatics.ecogrid.queryservice.query.QueryType getQuery()