Class FeelElContextFactory

    • Constructor Detail

      • FeelElContextFactory

        public FeelElContextFactory()
    • Method Detail

      • createContext

        public javax.el.ELContext createContext​(javax.el.ExpressionFactory expressionFactory,
                                                VariableContext variableContext)
        Description copied from interface: ElContextFactory
        Create a ELContext for the given ExpressionFactory and VariableContext.
        Specified by:
        createContext in interface ElContextFactory
        Parameters:
        expressionFactory - the ExpressionFactory to use
        variableContext - the VariableContext to use
        Returns:
        the ELContext instance
      • createElResolver

        public javax.el.ELResolver createElResolver()
      • createFunctionMapper

        public javax.el.FunctionMapper createFunctionMapper()
      • createVariableMapper

        public javax.el.VariableMapper createVariableMapper​(javax.el.ExpressionFactory expressionFactory,
                                                            VariableContext variableContext)
      • addCustomFunction

        public void addCustomFunction​(java.lang.String name,
                                      java.lang.reflect.Method method)
        Description copied from interface: ElContextFactory
        Add a custom function which can be used by the context.
        Specified by:
        addCustomFunction in interface ElContextFactory
        Parameters:
        name - the name of the function
        method - the method reference of the function