Package jakarta.el

Class StandardELContext


  • public class StandardELContext
    extends ELContext
    Since:
    EL 3.0
    • Constructor Detail

      • StandardELContext

        public StandardELContext​(ELContext context)
    • Method Detail

      • putContext

        public void putContext​(java.lang.Class<?> key,
                               java.lang.Object contextObject)
        Description copied from class: 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
      • getContext

        public java.lang.Object getContext​(java.lang.Class<?> key)
        Description copied from class: 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
      • addELResolver

        public void addELResolver​(ELResolver resolver)