public class FunctionSets extends Object
FunctionSet objects,
and filling these with FunctionSet objects that match the namespace.
It also implements a getFunction(java.lang.String, java.lang.String) method for obtaining a function from such a set.| Modifier and Type | Field and Description |
|---|---|
static String |
DTD_FUNCTIONSET_1_0 |
static String |
DTD_FUNCTIONSETS_1_0 |
static String |
FUNCTIONSET_NS |
static String |
PUBLIC_ID_FUNCTIONSET_1_0 |
static String |
PUBLIC_ID_FUNCTIONSETS_1_0 |
| Constructor and Description |
|---|
FunctionSets() |
| Modifier and Type | Method and Description |
|---|---|
static Function<?> |
getFunction(String setName,
String functionName)
Returns the
Function with the given function name, and which exists in the set with the given set name. |
static FunctionSet |
getFunctionSet(String setName)
Returns the
FunctionSet with the given set name. |
static Map<String,FunctionSet> |
getFunctionSets() |
public static final String DTD_FUNCTIONSET_1_0
public static final String DTD_FUNCTIONSETS_1_0
public static final String PUBLIC_ID_FUNCTIONSET_1_0
public static final String PUBLIC_ID_FUNCTIONSETS_1_0
public static final String FUNCTIONSET_NS
public static Function<?> getFunction(String setName, String functionName)
Function with the given function name, and which exists in the set with the given set name.
If this is the first call, or if the set does not exist in the cache, the cache
is refreshed by reading the functionset.xml configuration file.setName - the name of the function setfunctionName - the name of the functionFunction, or nulll if either the fucntion or set is not definedpublic static FunctionSet getFunctionSet(String setName)
FunctionSet with the given set name.
If this is the first call, or if the set does not exist in the cache, the cache
is refreshed by reading the functionset.xml configuration file.
configuration file.setName - the name of the function setFunctionSet, or null if the set is not definedpublic static Map<String,FunctionSet> getFunctionSets()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}