public class EL
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
NULL |
Constructor and Description |
---|
EL() |
Modifier and Type | Method and Description |
---|---|
static boolean |
evalBoolean(java.lang.String value,
ELContext env) |
static java.lang.Object |
evalObject(java.lang.String value) |
static java.lang.String |
evalString(java.lang.String value,
ELContext env) |
static ELContext |
getEnvironment() |
static ELContext |
getEnvironment(java.lang.ClassLoader loader) |
static java.lang.Object |
getLevelVar(java.lang.String name,
java.lang.ClassLoader loader)
Gets a var from the specified level.
|
static java.lang.Object |
putVar(java.lang.String name,
java.lang.Object value)
Puts an environment value.
|
static java.lang.Object |
putVar(java.lang.String name,
java.lang.Object value,
java.lang.ClassLoader loader)
Puts an environment value.
|
static void |
setEnvironment(ELContext env) |
static void |
setEnvironment(ELContext env,
java.lang.ClassLoader loader) |
static void |
setVariableMap(java.util.HashMap<java.lang.String,java.lang.Object> map,
java.lang.ClassLoader loader)
Sets the environment map.
|
public static ELContext getEnvironment()
public static ELContext getEnvironment(java.lang.ClassLoader loader)
public static void setEnvironment(ELContext env)
public static void setEnvironment(ELContext env, java.lang.ClassLoader loader)
public static void setVariableMap(java.util.HashMap<java.lang.String,java.lang.Object> map, java.lang.ClassLoader loader)
public static java.lang.Object getLevelVar(java.lang.String name, java.lang.ClassLoader loader)
public static java.lang.Object putVar(java.lang.String name, java.lang.Object value)
public static java.lang.Object putVar(java.lang.String name, java.lang.Object value, java.lang.ClassLoader loader)
public static java.lang.Object evalObject(java.lang.String value) throws ELParseException, ELException
ELParseException
ELException
public static java.lang.String evalString(java.lang.String value, ELContext env) throws ELParseException, ELException
ELParseException
ELException
public static boolean evalBoolean(java.lang.String value, ELContext env) throws ELParseException, ELException
ELParseException
ELException