Class ELContextWrapper


  • public final class ELContextWrapper
    extends ELContext
    Simple ELContextWrapper for runtime evaluation of EL w/ dynamic FunctionMappers
    Author:
    jhook
    • Method Detail

      • getContext

        public java.lang.Object getContext​(java.lang.Class<?> key)
        Description copied from class: jakarta.el.ELContext
        Obtain the context object for the given key.
        Overrides:
        getContext in class ELContext
        Parameters:
        key - The key of the required context object
        Returns:
        The value of the context object associated with the given key
      • getLocale

        public java.util.Locale getLocale()
        Overrides:
        getLocale in class ELContext
      • putContext

        public void putContext​(java.lang.Class<?> key,
                               java.lang.Object contextObject)
                        throws java.lang.NullPointerException
        Description copied from class: jakarta.el.ELContext
        Add an object to this EL context under the given key.
        Overrides:
        putContext in class ELContext
        Parameters:
        key - The key under which to store the object
        contextObject - The object to add
        Throws:
        java.lang.NullPointerException - If the supplied key or context is null
      • setLocale

        public void setLocale​(java.util.Locale locale)
        Overrides:
        setLocale in class ELContext