Package org.apache.jasper.el
Class ELContextWrapper
java.lang.Object
javax.el.ELContext
org.apache.jasper.el.ELContextWrapper
Simple ELContextWrapper for runtime evaluation of EL w/ dynamic FunctionMappers
- Author:
- jhook
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContext(Class key) Obtain the context object for the given key.booleanvoidputContext(Class key, Object contextObject) Add an object to this EL context under the given key.voidvoidsetPropertyResolved(boolean resolved) Methods inherited from class javax.el.ELContext
addEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, isLambdaArgument, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setPropertyResolved
-
Constructor Details
-
ELContextWrapper
-
-
Method Details
-
getELResolver
- Specified by:
getELResolverin classELContext
-
getFunctionMapper
- Specified by:
getFunctionMapperin classELContext
-
getVariableMapper
- Specified by:
getVariableMapperin classELContext
-
getContext
Description copied from class:javax.el.ELContextObtain the context object for the given key.- Overrides:
getContextin classELContext- Parameters:
key- The key of the required context object- Returns:
- The value of the context object associated with the given key
-
getLocale
-
isPropertyResolved
public boolean isPropertyResolved()- Overrides:
isPropertyResolvedin classELContext
-
putContext
Description copied from class:javax.el.ELContextAdd an object to this EL context under the given key.- Overrides:
putContextin classELContext- Parameters:
key- The key under which to store the objectcontextObject- The object to add- Throws:
NullPointerException- If the supplied key or context isnull
-
setLocale
-
setPropertyResolved
public void setPropertyResolved(boolean resolved) - Overrides:
setPropertyResolvedin classELContext
-