org.apache.beehive.netui.script.el.util
Class ParseUtils

Object
  extended by ParseUtils

public class ParseUtils
extends Object


Method Summary
static Object convertType(Object value, Class toType)
           
static Object evaluate(String exprStr, NetUIVariableResolver vr)
           
static String getContextString(String[] contexts)
           
static Object getProperty(Object value, String name, PropertyCache cache)
           
static Class getPropertyType(Object value, String name, PropertyCache cache)
           
static Throwable getRootCause(Throwable t)
           
static ParsedExpression parse(String exprStr)
           
static void update(String exprStr, Object value, NetUIVariableResolver vr)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

public static final ParsedExpression parse(String exprStr)

evaluate

public static final Object evaluate(String exprStr,
                                    NetUIVariableResolver vr)

update

public static final void update(String exprStr,
                                Object value,
                                NetUIVariableResolver vr)

getPropertyType

public static final Class getPropertyType(Object value,
                                          String name,
                                          PropertyCache cache)

getProperty

public static final Object getProperty(Object value,
                                       String name,
                                       PropertyCache cache)

convertType

public static final Object convertType(Object value,
                                       Class toType)

getContextString

public static String getContextString(String[] contexts)

getRootCause

public static Throwable getRootCause(Throwable t)