Class ELEvalFunction

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.poi.ss.formula.functions.FreeRefFunction, org.apache.poi.ss.formula.functions.Function

    public class ELEvalFunction
    extends java.lang.Object
    implements org.apache.poi.ss.formula.functions.Function, org.apache.poi.ss.formula.functions.FreeRefFunction, java.io.Serializable
    This the default function that delegate the POI function call to EL tld function.
    Author:
    henrichen, dennischen
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ELEvalFunction​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.poi.ss.formula.eval.ValueEval evaluate​(org.apache.poi.ss.formula.eval.ValueEval[] args, int srcRowIndex, int srcColumnIndex)  
      org.apache.poi.ss.formula.eval.ValueEval evaluate​(org.apache.poi.ss.formula.eval.ValueEval[] args, org.apache.poi.ss.formula.OperationEvaluationContext ec)  
      boolean hasFunction()
      Check if the mapped function is exist
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ELEvalFunction

        public ELEvalFunction​(java.lang.String name)
    • Method Detail

      • hasFunction

        public boolean hasFunction()
        Check if the mapped function is exist
      • evaluate

        public org.apache.poi.ss.formula.eval.ValueEval evaluate​(org.apache.poi.ss.formula.eval.ValueEval[] args,
                                                                 int srcRowIndex,
                                                                 int srcColumnIndex)
        Specified by:
        evaluate in interface org.apache.poi.ss.formula.functions.Function
      • evaluate

        public org.apache.poi.ss.formula.eval.ValueEval evaluate​(org.apache.poi.ss.formula.eval.ValueEval[] args,
                                                                 org.apache.poi.ss.formula.OperationEvaluationContext ec)
        Specified by:
        evaluate in interface org.apache.poi.ss.formula.functions.FreeRefFunction