Package javax.el
Class ELContext
- java.lang.Object
-
- javax.el.ELContext
-
public abstract class ELContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ELContext()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getContext(java.lang.Class key)
Obtain the context object for the given key.abstract ELResolver
getELResolver()
abstract FunctionMapper
getFunctionMapper()
java.util.Locale
getLocale()
abstract 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)
-
-
-
Method Detail
-
setPropertyResolved
public void setPropertyResolved(boolean resolved)
-
isPropertyResolved
public boolean isPropertyResolved()
-
putContext
public void putContext(java.lang.Class key, java.lang.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:
java.lang.NullPointerException
- If the supplied key or context isnull
-
getContext
public java.lang.Object getContext(java.lang.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:
java.lang.NullPointerException
- If the supplied key isnull
-
getELResolver
public abstract ELResolver getELResolver()
-
getFunctionMapper
public abstract FunctionMapper getFunctionMapper()
-
getLocale
public java.util.Locale getLocale()
-
setLocale
public void setLocale(java.util.Locale locale)
-
getVariableMapper
public abstract VariableMapper getVariableMapper()
-
-