public class PatternNodeFunctionProvider
extends FunctionProvider
This Function provider creates function objects , which can create a String function based on a
pattern. Several kind of patterns are recognized. {PARAM.abc} creates a parameter 'abc' and puts the
value of it on that place in the result. {NODE.title}, puts the title field of the node on which
the function was applied on that place, and {REQUEST.getContextPath} applies that method to the
request parameter (and the result is added). {INITPARAM.xyz} access the servletcontext init parameters xyz.
It is also possible to use request parameters and attributes with {REQUESTPARAM.xxx} and {REQUESTATTRIBUTE.yyy}.
The functions which are created have silly names like string0, string1 etc, so you want to wrap
them in a function with a reasonable name (this is done when specifying this thing in the builder
xml).
- Since:
- MMBase-1.8
- Version:
- $Id$
- Author:
- Michiel Meeuwissen