org.apache.beehive.netui.script
Class ExpressionEvaluatorFactory

Object
  extended by ExpressionEvaluatorFactory

public class ExpressionEvaluatorFactory
extends Object

Factory used to obtain ExpressionEvaluator instances.


Constructor Summary
ExpressionEvaluatorFactory()
           
 
Method Summary
static ExpressionEvaluator getInstance()
          Get the default instance of an expression evaluator.
static ExpressionEvaluator getInstance(String name)
          Get an ExpressionEvaluator named name.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionEvaluatorFactory

public ExpressionEvaluatorFactory()
Method Detail

getInstance

public static ExpressionEvaluator getInstance()
Get the default instance of an expression evaluator.

Returns:
an ExpressionEvaluator

getInstance

public static ExpressionEvaluator getInstance(String name)
Get an ExpressionEvaluator named name.

Parameters:
name - the name of the ExpressionEvaluator to obtain.
Returns:
an ExpressionEvaluator matching the given name.
Throws:
IllegalArgumentException - if an ExpressionEvaluator matching the name is not found