public class BasicFunctionFactory extends AbstractFunctionFactory implements ExpressionFunctionManager
AbstractFunctionFactory in order to implement the
ExpressionFunctionManager interface, making it mutable.categories, functions, parent| Constructor and Description |
|---|
BasicFunctionFactory() |
BasicFunctionFactory(FunctionFactory parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFunction(java.lang.String name,
java.lang.String category,
Function f)
Adds the given function to the expression system.
|
void |
addFunction(java.lang.String name,
java.lang.String category,
Function f,
boolean visible)
Adds the given function, optionally making it invisible to the various configuration helpers.
|
boolean |
isDefined(java.lang.String functionName)
Returns whether the specified function has already been defined.
|
getCategories, getFunction, getFunctionNames, getFunctionsInCategoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCategories, getFunction, getFunctionNames, getFunctionsInCategorypublic BasicFunctionFactory()
public BasicFunctionFactory(FunctionFactory parent)
public boolean isDefined(java.lang.String functionName)
ExpressionFunctionManagerisDefined in interface ExpressionFunctionManagerpublic void addFunction(java.lang.String name,
java.lang.String category,
Function f)
throws java.lang.IllegalArgumentException
ExpressionFunctionManageraddFunction in interface ExpressionFunctionManageraddFunction in class AbstractFunctionFactoryjava.lang.IllegalArgumentException - if the provided function name already exists.public void addFunction(java.lang.String name,
java.lang.String category,
Function f,
boolean visible)
throws java.lang.IllegalArgumentException
ExpressionFunctionManageraddFunction in interface ExpressionFunctionManageraddFunction in class AbstractFunctionFactoryjava.lang.IllegalArgumentException