info.javelot.functionalj.reflect.function
Class StdReflectFunction

java.lang.Object
  extended byinfo.javelot.functionalj.FunctionNImpl
      extended byinfo.javelot.functionalj.reflect.function.StdReflectFunction
All Implemented Interfaces:
FunctionN

public class StdReflectFunction
extends FunctionNImpl

Function to invoke a reflect element.

Author:
Copyright © 2006 Frederic Daoud

Constructor Summary
StdReflectFunction(ReflectElement p_element)
          Constructs a function to invoke the reflect element.
 
Method Summary
 Object call(Object[] p_params)
          Calls the function and returns the result.
 
Methods inherited from class info.javelot.functionalj.FunctionNImpl
bind, bind, call, f0, f1, f2, f3, f4
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdReflectFunction

public StdReflectFunction(ReflectElement p_element)
Constructs a function to invoke the reflect element.

Parameters:
p_element - the reflect element to be invoked by the function.
Method Detail

call

public Object call(Object[] p_params)
            throws FunctionException
Description copied from interface: FunctionN
Calls the function and returns the result.

Parameters:
p_params - the parameters to the function.
Returns:
the result of the function call.
Throws:
FunctionException - thrown if an exception occurs during the function call.