| java.lang.Object org.mmbase.util.functions.FunctionSets
FunctionSets | public class FunctionSets (Code) | | A utility class for maintaining and querying functionsets.
A set function belongs to a certain namespace of functions ('sets'), and therefore is identified by
two strings: The name of the 'set' and the name of the function.
Function sets can be defined in the functions/functionsets.xml configuration file.
This class implements a number of static methods for maintaining
FunctionSet objects,
and filling these with
FunctionSet objects that match the namespace.
It also implements a
FunctionSets.getFunction method for obtaining a function from such a set.
author: Daniël Ockeloen author: Michiel Meeuwissen since: MMBase-1.8 version: $Id: FunctionSets.java,v 1.31 2007/11/25 18:25:49 nklasens Exp $ |
DTD_FUNCTIONSETS_1_0 | final public static String DTD_FUNCTIONSETS_1_0(Code) | | |
DTD_FUNCTIONSET_1_0 | final public static String DTD_FUNCTIONSET_1_0(Code) | | |
PUBLIC_ID_FUNCTIONSETS_1_0 | final public static String PUBLIC_ID_FUNCTIONSETS_1_0(Code) | | |
PUBLIC_ID_FUNCTIONSET_1_0 | final public static String PUBLIC_ID_FUNCTIONSET_1_0(Code) | | |
getFunction | public static Function> getFunction(String setName, String functionName)(Code) | | Returns the
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.
Parameters: setName - the name of the function set Parameters: functionName - the name of the function the Function, or nulll if either the fucntion or set is not defined |
getFunctionSet | public static FunctionSet getFunctionSet(String setName)(Code) | | Returns the
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.
Parameters: setName - the name of the function set the FunctionSet, or null if the set is not defined |
|
|