public class QueryDeclarations extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<String,Map<String,Class<?>>> |
indicators |
protected Map<String,QueryDescriptor> |
queries |
Constructor and Description |
---|
QueryDeclarations(InputStream istream) |
Modifier and Type | Method and Description |
---|---|
void |
addIndicator(String name,
Map<String,Class<?>> indicator)
INTERNAL: Adds the class indicator map by name.
|
void |
addQuery(QueryDescriptor qdesc)
INTERNAL: Adds the query descriptor.
|
Map<String,Class<?>> |
getIndicator(String name)
INTERNAL: Looks up the class indicator map by name.
|
QueryDescriptor |
getQueryDescriptor(String name)
INTERNAL: Gets the query descriptor by name.
|
protected void |
loadQueries(InputSource isource) |
void |
loadQueries(InputStream stream) |
protected Map<String,QueryDescriptor> queries
public QueryDeclarations(InputStream istream)
public QueryDescriptor getQueryDescriptor(String name)
public void addQuery(QueryDescriptor qdesc)
public Map<String,Class<?>> getIndicator(String name)
public void addIndicator(String name, Map<String,Class<?>> indicator)
protected void loadQueries(InputSource isource)
public void loadQueries(InputStream stream)