public class StandardSingleQueryClauseFunctionBundle extends Object implements QueryClauseFunctionBundle
| Constructor and Description |
|---|
StandardSingleQueryClauseFunctionBundle(String queryLanguage)
Creates a bundle for a query language
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFunction(String clauseId,
JRClauseFunction function)
Registers a query clause function.
|
JRClauseFunction |
getFunction(String queryLanguage,
String clauseId)
Returns a clause function that applies to the specified query language and clause Id.
|
public StandardSingleQueryClauseFunctionBundle(String queryLanguage)
queryLanguage - the query languagepublic void addFunction(String clauseId, JRClauseFunction function)
clauseId - the clause Idfunction - the function implementationpublic JRClauseFunction getFunction(String queryLanguage, String clauseId)
QueryClauseFunctionBundlegetFunction in interface QueryClauseFunctionBundlequeryLanguage - the query languageclauseId - the clause Idnull if the bundle doesn't know
of such clauseCopyright © 2017. All rights reserved.