Class NoopELEngine

  • All Implemented Interfaces:
    ELEngine

    public class NoopELEngine
    extends Object
    implements ELEngine
    ELEngine implementation that has no implementation logic. Use when jakarta.el dependency is not on the class path.
    • Constructor Detail

      • NoopELEngine

        public NoopELEngine()
    • Method Detail

      • setVariable

        public <T> void setVariable​(String key,
                                    T value)
        Note, this method does nothing
        Specified by:
        setVariable in interface ELEngine
        Type Parameters:
        T - generic type of value
        Parameters:
        key - key to store
        value - value to resolve
      • setVariable

        public <T> void setVariable​(String key,
                                    T value,
                                    Class<? extends T> type)
        Note, this method does nothing
        Specified by:
        setVariable in interface ELEngine
        Type Parameters:
        T - generic type of value
        Parameters:
        key - key to store
        value - value to resolve
        type - type of value
      • setFunction

        public void setFunction​(String prefix,
                                Method method)
        Note, this method does nothing
        Specified by:
        setFunction in interface ELEngine
        Parameters:
        prefix - the prefix of the function
        method - method to resolve
      • setFunction

        public void setFunction​(String prefix,
                                String name,
                                Method method)
        Note, this method does nothing
        Specified by:
        setFunction in interface ELEngine
        Parameters:
        prefix - the prefix of the function
        name - name of methhod
        method - method to resolve
      • resolve

        public String resolve​(String expression)
        Note, this method returns the expression passed in
        Specified by:
        resolve in interface ELEngine
        Parameters:
        expression - expression to resolve
        Returns:
        the expression passed in