| org.mmbase.util.functions.NodeFunction
getFunctionValue | public static FieldValue getFunctionValue(Node node, String function)(Code) | | Utility function, for easy call of function on node by one string.
|
getFunctionValue | final protected R getFunctionValue(MMObjectNode coreNode, Parameters parameters)(Code) | | Implements the function on a certain node. Override this method or it's bridge
counter-part
NodeFunction.getFunctionValue(org.mmbase.bridge.Node,Parameters) . Overriding the
bridge version has two advantages. It's easier, and mmbase security will be honoured. That
last thing is of course not necesary if you are not going to use other nodes.
XXX: made final because it does not work well if you don't implement a bridge version
|
getReturnType | public ReturnType<R> getReturnType()(Code) | | The currently set ReturnType, or null if not set already. |
newInstance | final public Function<R> newInstance(MMObjectNode node)(Code) | | Returns a new instance of NodeInstanceFunction, which represents an actual Function.
|
wrap | public static NodeFunction<S> wrap(Function<S> function)(Code) | | Tries to convert a certain Function object into a NodeFunction object.
function if that was already a NodeFunction, null if itcould not be wrapped (No Parameter.NODE parameter), or a new NodeFunction objectwrapping function since: MMBase-1.8.5 |
|
|