org.pentaho.reporting.engine.classic.core.function.formula
Class QuoteTextFunction

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.function.formula.QuoteTextFunction
All Implemented Interfaces:
Serializable, org.pentaho.reporting.libraries.formula.function.Function

public class QuoteTextFunction
extends Object
implements org.pentaho.reporting.libraries.formula.function.Function

Todo: Document me!

Date: 16.07.2010 Time: 17:19:21

Author:
Thomas Morgner.
See Also:
Serialized Form

Constructor Summary
QuoteTextFunction()
           
 
Method Summary
 org.pentaho.reporting.libraries.formula.lvalues.TypeValuePair evaluate(org.pentaho.reporting.libraries.formula.FormulaContext context, org.pentaho.reporting.libraries.formula.function.ParameterCallback parameters)
           
 String getCanonicalName()
           
static String saveConvert(String text)
          Performs the necessary conversion of an java string into a property escaped string.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuoteTextFunction

public QuoteTextFunction()
Method Detail

getCanonicalName

public String getCanonicalName()
Specified by:
getCanonicalName in interface org.pentaho.reporting.libraries.formula.function.Function

evaluate

public org.pentaho.reporting.libraries.formula.lvalues.TypeValuePair evaluate(org.pentaho.reporting.libraries.formula.FormulaContext context,
                                                                              org.pentaho.reporting.libraries.formula.function.ParameterCallback parameters)
                                                                       throws org.pentaho.reporting.libraries.formula.EvaluationException
Specified by:
evaluate in interface org.pentaho.reporting.libraries.formula.function.Function
Throws:
org.pentaho.reporting.libraries.formula.EvaluationException

saveConvert

public static String saveConvert(String text)
Performs the necessary conversion of an java string into a property escaped string.

Parameters:
text - the text to be escaped