org.pentaho.reporting.libraries.formula.function.text
Class SubstituteFunction

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.function.text.SubstituteFunction
All Implemented Interfaces:
Serializable, Function

public class SubstituteFunction
extends Object
implements Function

This function returns text where an old text is substituted with a new text.

Author:
Cedric Pronzato
See Also:
Serialized Form

Constructor Summary
SubstituteFunction()
           
 
Method Summary
 TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)
           
 String getCanonicalName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstituteFunction

public SubstituteFunction()
Method Detail

evaluate

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

getCanonicalName

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