|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectDefaultFunctionFactory
public class DefaultFunctionFactory
Filter function factory that uses the spi lookup mechanism to create functions.
Constructor Summary | |
---|---|
DefaultFunctionFactory()
|
Method Summary | |
---|---|
Function |
function(Name name,
List<Expression> parameters,
Literal fallback)
Returns a function with the specified name. |
Function |
function(String name,
List<Expression> parameters,
Literal fallback)
Returns a function with the specified name. |
List<FunctionName> |
getFunctionNames()
Returns the list of function names the factory provides. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFunctionFactory()
Method Detail |
---|
public List<FunctionName> getFunctionNames()
FunctionFactory
getFunctionNames
in interface FunctionFactory
public Function function(String name, List<Expression> parameters, Literal fallback)
FunctionFactory
function
in interface FunctionFactory
name
- The name of the functionparameters
- Variable list of expression arguments for the function.fallback
- A fallback literal to use in cases where the function does not exist or
can not be created. This argument may be null
.public Function function(Name name, List<Expression> parameters, Literal fallback)
FunctionFactory
function
in interface FunctionFactory
name
- The name of the functionparameters
- Variable list of expression arguments for the function.fallback
- A fallback literal to use in cases where the function does not exist or
can not be created. This argument may be null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |