jreversepro.reflect.method
Class JDoWhileBlock

java.lang.Object
  extended by jreversepro.reflect.method.JBlockObject
      extended by jreversepro.reflect.method.JDoWhileBlock

public class JDoWhileBlock
extends JBlockObject

Author:
norpaul pnp@mn.rr.com -- Copyright 2002.

Field Summary
 
Fields inherited from class jreversepro.reflect.method.JBlockObject
indent
 
Constructor Summary
JDoWhileBlock(JBranchEntry _jbe)
          Creates a new instance of JDoWhileBlock
JDoWhileBlock(JBranchEntry _jbe, java.lang.String _var1, java.lang.String _oper, java.lang.String _var2)
          Creates a new instance of JDoWhileBlock
 
Method Summary
protected  java.lang.String getEntryCode()
          Outputs any starting code to open the block
protected  java.lang.String getExitCode()
          Outputs any terminating code to close the block
 void setOper(java.lang.String _oper)
          Set the oper expression
 void setVar1(java.lang.String _var1)
          Set the var1 expression
 void setVar2(java.lang.String _var2)
          Set the var2 expression
 
Methods inherited from class jreversepro.reflect.method.JBlockObject
addBlock, addStatement, getEntryLineOfCode, getExitLineOfCode, getFlattenedCode, isSimpleBlock, removeLastBlock, removeLastStatement, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDoWhileBlock

public JDoWhileBlock(JBranchEntry _jbe)
Creates a new instance of JDoWhileBlock


JDoWhileBlock

public JDoWhileBlock(JBranchEntry _jbe,
                     java.lang.String _var1,
                     java.lang.String _oper,
                     java.lang.String _var2)
Creates a new instance of JDoWhileBlock

Method Detail

setVar1

public void setVar1(java.lang.String _var1)
Set the var1 expression


setOper

public void setOper(java.lang.String _oper)
Set the oper expression


setVar2

public void setVar2(java.lang.String _var2)
Set the var2 expression


getEntryCode

protected java.lang.String getEntryCode()
Outputs any starting code to open the block

Overrides:
getEntryCode in class JBlockObject

getExitCode

protected java.lang.String getExitCode()
Outputs any terminating code to close the block

Overrides:
getExitCode in class JBlockObject


Submit Feedback to akkumar@users.sourceforge.net