org.ow2.clif.scenario.isac.engine.nodes
Class WhileNode

java.lang.Object
  extended by org.ow2.clif.scenario.isac.engine.nodes.WhileNode
All Implemented Interfaces:
InstructionNode

public class WhileNode
extends java.lang.Object

Author:
Emmanuel Varoquaux

Field Summary
 ConditionNode condition
           
 java.util.ArrayList<InstructionNode> instructions
           
 
Constructor Summary
WhileNode(org.jdom.Element element)
           
 
Method Summary
protected  java.util.ArrayList<InstructionNode> analyseConditionedBlock(org.jdom.Element element)
           
 void compile(java.util.Map<java.lang.String,PlugIn> plugIns, java.util.ArrayList<Instruction> code, java.util.Stack<TestInstruction> conditions)
           
 java.lang.StringBuilder indentedToString(int indent, java.lang.StringBuilder str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instructions

public java.util.ArrayList<InstructionNode> instructions

condition

public ConditionNode condition
Constructor Detail

WhileNode

public WhileNode(org.jdom.Element element)
          throws NodeException
Throws:
NodeException
Method Detail

indentedToString

public java.lang.StringBuilder indentedToString(int indent,
                                                java.lang.StringBuilder str)

compile

public void compile(java.util.Map<java.lang.String,PlugIn> plugIns,
                    java.util.ArrayList<Instruction> code,
                    java.util.Stack<TestInstruction> conditions)
             throws java.lang.Exception
Throws:
java.lang.Exception

analyseConditionedBlock

protected java.util.ArrayList<InstructionNode> analyseConditionedBlock(org.jdom.Element element)
                                                                throws NodeException
Throws:
NodeException