com.caucho.el
Class EL

java.lang.Object
  extended by com.caucho.el.EL

public class EL
extends java.lang.Object

Abstract implementation class for an expression.


Field Summary
static java.lang.Object NULL
           
 
Constructor Summary
EL()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL

public static final java.lang.Object NULL
Constructor Detail

EL

public EL()
Method Detail

getEnvironment

public static ELContext getEnvironment()

getEnvironment

public static ELContext getEnvironment(java.lang.ClassLoader loader)

setEnvironment

public static void setEnvironment(ELContext env)

setEnvironment

public static void setEnvironment(ELContext env,
                                  java.lang.ClassLoader loader)

setVariableMap

public static void setVariableMap(java.util.HashMap<java.lang.String,java.lang.Object> map,
                                  java.lang.ClassLoader loader)
Sets the environment map.


getLevelVar

public static java.lang.Object getLevelVar(java.lang.String name,
                                           java.lang.ClassLoader loader)
Gets a var from the specified level.


putVar

public static java.lang.Object putVar(java.lang.String name,
                                      java.lang.Object value)
Puts an environment value.


putVar

public static java.lang.Object putVar(java.lang.String name,
                                      java.lang.Object value,
                                      java.lang.ClassLoader loader)
Puts an environment value.


evalObject

public static java.lang.Object evalObject(java.lang.String value)
                                   throws ELParseException,
                                          ELException
Throws:
ELParseException
ELException

evalString

public static java.lang.String evalString(java.lang.String value,
                                          ELContext env)
                                   throws ELParseException,
                                          ELException
Throws:
ELParseException
ELException

evalBoolean

public static boolean evalBoolean(java.lang.String value,
                                  ELContext env)
                           throws ELParseException,
                                  ELException
Throws:
ELParseException
ELException