Interface ElContextFactory

    • Method Detail

      • createContext

        javax.el.ELContext createContext​(javax.el.ExpressionFactory expressionFactory,
                                         VariableContext variableContext)
        Create a ELContext for the given ExpressionFactory and VariableContext.
        Parameters:
        expressionFactory - the ExpressionFactory to use
        variableContext - the VariableContext to use
        Returns:
        the ELContext instance
      • addCustomFunction

        void addCustomFunction​(java.lang.String name,
                               java.lang.reflect.Method method)
        Add a custom function which can be used by the context.
        Parameters:
        name - the name of the function
        method - the method reference of the function