public final class ELContextWrapper extends ELContext
Constructor and Description |
---|
ELContextWrapper(ELContext target,
FunctionMapper fnMapper) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContext(java.lang.Class key)
Obtain the context object for the given key.
|
ELResolver |
getELResolver() |
FunctionMapper |
getFunctionMapper() |
java.util.Locale |
getLocale() |
VariableMapper |
getVariableMapper() |
boolean |
isPropertyResolved() |
void |
putContext(java.lang.Class key,
java.lang.Object contextObject)
Add an object to this EL context under the given key.
|
void |
setLocale(java.util.Locale locale) |
void |
setPropertyResolved(boolean resolved) |
public ELContextWrapper(ELContext target, FunctionMapper fnMapper)
public ELResolver getELResolver()
getELResolver
in class ELContext
public FunctionMapper getFunctionMapper()
getFunctionMapper
in class ELContext
public VariableMapper getVariableMapper()
getVariableMapper
in class ELContext
public java.lang.Object getContext(java.lang.Class key)
javax.el.ELContext
getContext
in class ELContext
key
- The key of the required context objectpublic boolean isPropertyResolved()
isPropertyResolved
in class ELContext
public void putContext(java.lang.Class key, java.lang.Object contextObject) throws java.lang.NullPointerException
javax.el.ELContext
putContext
in class ELContext
key
- The key under which to store the objectcontextObject
- The object to addjava.lang.NullPointerException
- If the supplied key or context is null
public void setPropertyResolved(boolean resolved)
setPropertyResolved
in class ELContext
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.