Package javax.el
Class ELContext
- java.lang.Object
-
- javax.el.ELContext
-
public abstract class ELContext extends Object
-
-
Constructor Summary
Constructors Constructor Description ELContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
getContext(Class key)
Obtain the context object for the given key.abstract ELResolver
getELResolver()
abstract FunctionMapper
getFunctionMapper()
Locale
getLocale()
abstract VariableMapper
getVariableMapper()
boolean
isPropertyResolved()
void
putContext(Class key, Object contextObject)
Add an object to this EL context under the given key.void
setLocale(Locale locale)
void
setPropertyResolved(boolean resolved)
-
-
-
Method Detail
-
setPropertyResolved
public void setPropertyResolved(boolean resolved)
-
isPropertyResolved
public boolean isPropertyResolved()
-
putContext
public void putContext(Class key, Object contextObject)
Add an object to this EL context under the given key.- Parameters:
key
- The key under which to store the objectcontextObject
- The object to add- Throws:
NullPointerException
- If the supplied key or context isnull
-
getContext
public Object getContext(Class key)
Obtain the context object for the given key.- Parameters:
key
- The key of the required context object- Returns:
- The value of the context object associated with the given key
- Throws:
NullPointerException
- If the supplied key isnull
-
getELResolver
public abstract ELResolver getELResolver()
-
getFunctionMapper
public abstract FunctionMapper getFunctionMapper()
-
getLocale
public Locale getLocale()
-
setLocale
public void setLocale(Locale locale)
-
getVariableMapper
public abstract VariableMapper getVariableMapper()
-
-