public class MockELContext
extends javax.el.ELContext
Mock implementation of ELContext.
| Constructor and Description |
|---|
MockELContext()
Creates a new instance of MockELContext
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getContext(Class key) |
javax.el.ELResolver |
getELResolver() |
javax.el.FunctionMapper |
getFunctionMapper() |
Locale |
getLocale() |
javax.el.VariableMapper |
getVariableMapper() |
boolean |
isPropertyResolved() |
void |
putContext(Class key,
Object value) |
void |
setLocale(Locale locale) |
void |
setPropertyResolved(boolean propertyResolved) |
public javax.el.ELResolver getELResolver()
getELResolver in class javax.el.ELContextpublic javax.el.FunctionMapper getFunctionMapper()
getFunctionMapper in class javax.el.ELContextpublic Locale getLocale()
getLocale in class javax.el.ELContextpublic boolean isPropertyResolved()
isPropertyResolved in class javax.el.ELContextpublic void putContext(Class key, Object value)
putContext in class javax.el.ELContextpublic void setPropertyResolved(boolean propertyResolved)
setPropertyResolved in class javax.el.ELContextpublic javax.el.VariableMapper getVariableMapper()
getVariableMapper in class javax.el.ELContextpublic void setLocale(Locale locale)
setLocale in class javax.el.ELContextCopyright © 2017 The Apache Software Foundation. All rights reserved.