Package org.apache.jasper.el
Class ELContextWrapper
- java.lang.Object
- 
- javax.el.ELContext
- 
- org.apache.jasper.el.ELContextWrapper
 
 
- 
 public final class ELContextWrapper extends ELContext Simple ELContextWrapper for runtime evaluation of EL w/ dynamic FunctionMappers- Author:
- jhook
 
- 
- 
Constructor SummaryConstructors Constructor Description ELContextWrapper(ELContext target, FunctionMapper fnMapper)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetContext(java.lang.Class key)Obtain the context object for the given key.ELResolvergetELResolver()FunctionMappergetFunctionMapper()java.util.LocalegetLocale()VariableMappergetVariableMapper()booleanisPropertyResolved()voidputContext(java.lang.Class key, java.lang.Object contextObject)Add an object to this EL context under the given key.voidsetLocale(java.util.Locale locale)voidsetPropertyResolved(boolean resolved)- 
Methods inherited from class javax.el.ELContextaddEvaluationListener, convertToType, enterLambdaScope, exitLambdaScope, getEvaluationListeners, getImportHandler, getLambdaArgument, isLambdaArgument, notifyAfterEvaluation, notifyBeforeEvaluation, notifyPropertyResolved, setPropertyResolved
 
- 
 
- 
- 
- 
Constructor Detail- 
ELContextWrapperpublic ELContextWrapper(ELContext target, FunctionMapper fnMapper) 
 
- 
 - 
Method Detail- 
getELResolverpublic ELResolver getELResolver() - Specified by:
- getELResolverin class- ELContext
 
 - 
getFunctionMapperpublic FunctionMapper getFunctionMapper() - Specified by:
- getFunctionMapperin class- ELContext
 
 - 
getVariableMapperpublic VariableMapper getVariableMapper() - Specified by:
- getVariableMapperin class- ELContext
 
 - 
getContextpublic java.lang.Object getContext(java.lang.Class key) Description copied from class:javax.el.ELContextObtain the context object for the given key.- Overrides:
- getContextin class- ELContext
- Parameters:
- key- The key of the required context object
- Returns:
- The value of the context object associated with the given key
 
 - 
isPropertyResolvedpublic boolean isPropertyResolved() - Overrides:
- isPropertyResolvedin class- ELContext
 
 - 
putContextpublic void putContext(java.lang.Class key, java.lang.Object contextObject) throws java.lang.NullPointerExceptionDescription copied from class:javax.el.ELContextAdd an object to this EL context under the given key.- Overrides:
- putContextin class- ELContext
- Parameters:
- key- The key under which to store the object
- contextObject- The object to add
- Throws:
- java.lang.NullPointerException- If the supplied key or context is- null
 
 - 
setPropertyResolvedpublic void setPropertyResolved(boolean resolved) - Overrides:
- setPropertyResolvedin class- ELContext
 
 
- 
 
-