Class ELContextWrapper

java.lang.Object
javax.el.ELContext
org.apache.sling.scripting.jsp.jasper.el.ELContextWrapper

public final class ELContextWrapper extends javax.el.ELContext
Simple ELContextWrapper for runtime evaluation of EL w/ dynamic FunctionMappers
Author:
jhook
  • Constructor Details

    • ELContextWrapper

      public ELContextWrapper(javax.el.ELContext target, javax.el.FunctionMapper fnMapper)
  • Method Details

    • getELResolver

      public javax.el.ELResolver getELResolver()
      Specified by:
      getELResolver in class javax.el.ELContext
    • getFunctionMapper

      public javax.el.FunctionMapper getFunctionMapper()
      Specified by:
      getFunctionMapper in class javax.el.ELContext
    • getVariableMapper

      public javax.el.VariableMapper getVariableMapper()
      Specified by:
      getVariableMapper in class javax.el.ELContext
    • getContext

      public Object getContext(Class key)
      Overrides:
      getContext in class javax.el.ELContext
    • getLocale

      public Locale getLocale()
      Overrides:
      getLocale in class javax.el.ELContext
    • isPropertyResolved

      public boolean isPropertyResolved()
      Overrides:
      isPropertyResolved in class javax.el.ELContext
    • putContext

      public void putContext(Class key, Object contextObject) throws NullPointerException
      Overrides:
      putContext in class javax.el.ELContext
      Throws:
      NullPointerException
    • setLocale

      public void setLocale(Locale locale)
      Overrides:
      setLocale in class javax.el.ELContext
    • setPropertyResolved

      public void setPropertyResolved(boolean resolved)
      Overrides:
      setPropertyResolved in class javax.el.ELContext