Class 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
    See Also:
    Serialized Form
    • 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