org.jfree.formula.function.userdefined

Class MappedFunction

Implemented Interfaces:
Function, Serializable

public class MappedFunction
extends java.lang.Object
implements Function

A function, that calls a method on a java class. The class is reinstantiated each time the function is called (unless the method is static).
Author:
Thomas Morgner

Constructor Summary

MappedFunction()

Method Summary

Object
clone()
TypeValuePair
evaluate(FormulaContext context, ParameterCallback parameters)
String
getCanonicalName()
String
getClassName()

Constructor Details

MappedFunction

public MappedFunction()

Method Details

clone

public Object clone()
            throws CloneNotSupportedException

evaluate

public TypeValuePair evaluate(FormulaContext context,
                              ParameterCallback parameters)
Specified by:
evaluate in interface Function

getCanonicalName

public String getCanonicalName()
Specified by:
getCanonicalName in interface Function

getClassName

public String getClassName()