org.sintef.mofscript.runtime.expression
Class NullEvaluator

java.lang.Object
  extended by org.sintef.mofscript.runtime.expression.ExpressionEvaluator
      extended by org.sintef.mofscript.runtime.expression.NullEvaluator

public class NullEvaluator
extends ExpressionEvaluator

Null evaluator

Author:
jol

Field Summary
 
Fields inherited from class org.sintef.mofscript.runtime.expression.ExpressionEvaluator
_env, _expression, _ownerRuleExecutor, _positionCounter, _referenceStringLength, _stringPosCounter
 
Constructor Summary
NullEvaluator(Expression expression, ExecutionEnvironment env, RuleExecutor ownerRuleExecutor)
          Constructor
 
Method Summary
protected  java.lang.Object evaluate(java.lang.Object inputObject)
          To be defined by subclasses - the actual evaluation of the expression
 
Methods inherited from class org.sintef.mofscript.runtime.expression.ExpressionEvaluator
evaluateExpression, resetPosisionCounter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullEvaluator

public NullEvaluator(Expression expression,
                     ExecutionEnvironment env,
                     RuleExecutor ownerRuleExecutor)
Constructor

Parameters:
expression - The expression to be evaluated
env - The ExecutionEnvironment
ownerRuleExecutor - The rule executor that owns the expression
Method Detail

evaluate

protected java.lang.Object evaluate(java.lang.Object inputObject)
                             throws MofScriptExecutionException
Description copied from class: ExpressionEvaluator
To be defined by subclasses - the actual evaluation of the expression

Specified by:
evaluate in class ExpressionEvaluator
Returns:
Throws:
MofScriptExecutionException