org.sintef.mofscript.runtime.statement
Class StatementExecutor

java.lang.Object
  extended by org.sintef.mofscript.runtime.statement.StatementExecutor
All Implemented Interfaces:
MofScriptExecuter
Direct Known Subclasses:
CreateStatementExecutor, FileStatementExecutor, FunctionCallStatementExecutor, GeneralAssignmentExecutor, IfStatementExecutor, IteratorStatementExecutor, PrintStatementExecutor, ResultAssignmentExecutor

public class StatementExecutor
extends java.lang.Object
implements MofScriptExecuter


Field Summary
protected  ExecutionEnvironment _env
           
protected  RuleExecutor _ownerRule
           
protected  MOFScriptStatement _statement
           
 
Constructor Summary
StatementExecutor(MOFScriptStatement statement, ExecutionEnvironment env, RuleExecutor ownerRule)
           
 
Method Summary
 java.lang.Object executeStatement(java.lang.Object rule_create)
          executeStatement - executes the current statement; Overridden by sub classes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_statement

protected MOFScriptStatement _statement

_env

protected ExecutionEnvironment _env

_ownerRule

protected RuleExecutor _ownerRule
Constructor Detail

StatementExecutor

public StatementExecutor(MOFScriptStatement statement,
                         ExecutionEnvironment env,
                         RuleExecutor ownerRule)
Method Detail

executeStatement

public java.lang.Object executeStatement(java.lang.Object rule_create)
                                  throws MofScriptExecutionException
executeStatement - executes the current statement; Overridden by sub classes

Parameters:
rule_create -
Throws:
MofScriptExecutionException