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.ELContext
public javax.el.FunctionMapper getFunctionMapper()
getFunctionMapper
in class javax.el.ELContext
public Locale getLocale()
getLocale
in class javax.el.ELContext
public boolean isPropertyResolved()
isPropertyResolved
in class javax.el.ELContext
public void putContext(Class key, Object value)
putContext
in class javax.el.ELContext
public void setPropertyResolved(boolean propertyResolved)
setPropertyResolved
in class javax.el.ELContext
public javax.el.VariableMapper getVariableMapper()
getVariableMapper
in class javax.el.ELContext
public void setLocale(Locale locale)
setLocale
in class javax.el.ELContext
Copyright © 2004-2013 Apache Software Foundation. All Rights Reserved.