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.ELResolverjavax.el.FunctionMapperjavax.el.VariableMapperbooleanvoidputContext(Class key, Object contextObject) voidvoidsetPropertyResolved(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:
getELResolverin classjavax.el.ELContext
-
getFunctionMapper
public javax.el.FunctionMapper getFunctionMapper()- Specified by:
getFunctionMapperin classjavax.el.ELContext
-
getVariableMapper
public javax.el.VariableMapper getVariableMapper()- Specified by:
getVariableMapperin classjavax.el.ELContext
-
getContext
- Overrides:
getContextin classjavax.el.ELContext
-
getLocale
- Overrides:
getLocalein classjavax.el.ELContext
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolvedin classjavax.el.ELContext
-
putContext
- Overrides:
putContextin classjavax.el.ELContext- Throws:
NullPointerException
-
setLocale
- Overrides:
setLocalein classjavax.el.ELContext
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolvedin classjavax.el.ELContext
-