org.milyn.expression
Class MVELVariables

java.lang.Object
  extended by org.milyn.expression.MVELVariables

public class MVELVariables
extends Object

The MVELVariables is utility class for MVEL. It can be used to inspect the MVEL Variable Context.

Author:
maurice.zeijen@smies.com

Constructor Summary
MVELVariables(org.mvel.integration.VariableResolverFactory variableResolverFactory)
           
 
Method Summary
 Object get(String var)
          Returns the value of the variable or null if it is not defined.
 boolean isdef(String var)
          Returns true if the variable is defined within the MVEL Context.
 boolean isResolveable(String var)
          Returns true if the variable is defined within the MVEL Context.
 boolean isUnresolveable(String var)
          Returns true if the variable is not defined within the MVEL Context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVELVariables

public MVELVariables(org.mvel.integration.VariableResolverFactory variableResolverFactory)
Method Detail

isdef

public boolean isdef(String var)
Returns true if the variable is defined within the MVEL Context.

Parameters:
var -
Returns:

isResolveable

public boolean isResolveable(String var)
Returns true if the variable is defined within the MVEL Context.

Parameters:
var -
Returns:

isUnresolveable

public boolean isUnresolveable(String var)
Returns true if the variable is not defined within the MVEL Context.

Parameters:
var -
Returns:

get

public Object get(String var)
Returns the value of the variable or null if it is not defined.

Parameters:
var -
Returns:


Copyright © 2008. All Rights Reserved.