org.mmbase.util.functions
Class NodeFunction
java.lang.Object
org.mmbase.util.functions.Function
org.mmbase.util.functions.NodeFunction
- public class NodeFunction
- extends Function
Describing a function on a bridge Node, giving access to the underlying executeFunction of the MMObjectBuilder.
- Since:
- MMBase-1.7
- Version:
- $Id: NodeFunction.java,v 1.1 2003/12/21 13:25:36 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
MMObjectBuilder.executeFunction(org.mmbase.module.core.MMObjectNode, java.lang.String, java.util.List),
Node.getFunctionValue(java.lang.String, java.util.List)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeFunction
public NodeFunction(java.lang.String name,
Parameter[] def,
ReturnType returnType,
Node node)
getParametersByReflection
public static Parameter[] getParametersByReflection(java.lang.Class claz,
java.lang.String name)
- Utility function, which can be called from MMObjectBuilder implementations to implement their
getParameters easily
getFunction
public static Function getFunction(Node node,
java.lang.String name)
getFunctionValue
public java.lang.Object getFunctionValue(Parameters arguments)
- Description copied from class:
Function
- Executes the defined function supplying the given arguments.
- Specified by:
getFunctionValue in class Function
- See Also:
Function.getNewParameters()
MMBase build 1.7.4.20050922