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 Summary
ConstructorsConstructorDescriptionELContextWrapper
(javax.el.ELContext target, javax.el.FunctionMapper fnMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetContext
(Class key) javax.el.ELResolver
javax.el.FunctionMapper
javax.el.VariableMapper
boolean
void
putContext
(Class key, Object contextObject) void
void
setPropertyResolved
(boolean resolved)
-
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 classjavax.el.ELContext
-
getFunctionMapper
public javax.el.FunctionMapper getFunctionMapper()- Specified by:
getFunctionMapper
in classjavax.el.ELContext
-
getVariableMapper
public javax.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapper
in classjavax.el.ELContext
-
getContext
- Overrides:
getContext
in classjavax.el.ELContext
-
getLocale
- Overrides:
getLocale
in classjavax.el.ELContext
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolved
in classjavax.el.ELContext
-
putContext
- Overrides:
putContext
in classjavax.el.ELContext
- Throws:
NullPointerException
-
setLocale
- Overrides:
setLocale
in classjavax.el.ELContext
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolved
in classjavax.el.ELContext
-