Errai 3.0.1-SNAPSHOT

org.jboss.errai.codegen.control
Class WhileLoop

java.lang.Object
  extended by org.jboss.errai.codegen.AbstractStatement
      extended by org.jboss.errai.codegen.control.AbstractConditionalBlock
          extended by org.jboss.errai.codegen.control.WhileLoop
All Implemented Interfaces:
Statement

public class WhileLoop
extends AbstractConditionalBlock

Author:
Mike Brock , Christian Sadilek

Constructor Summary
WhileLoop(BooleanExpression condition, BlockStatement block)
           
WhileLoop(BooleanExpressionBuilder condition)
           
WhileLoop(BooleanExpressionBuilder condition, BlockStatement block)
           
 
Method Summary
 String generate(Context context)
           
 BooleanExpressionBuilder getCondition()
           
 
Methods inherited from class org.jboss.errai.codegen.control.AbstractConditionalBlock
getBlock
 
Methods inherited from class org.jboss.errai.codegen.AbstractStatement
getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhileLoop

public WhileLoop(BooleanExpressionBuilder condition)

WhileLoop

public WhileLoop(BooleanExpression condition,
                 BlockStatement block)

WhileLoop

public WhileLoop(BooleanExpressionBuilder condition,
                 BlockStatement block)
Method Detail

getCondition

public BooleanExpressionBuilder getCondition()
Overrides:
getCondition in class AbstractConditionalBlock

generate

public String generate(Context context)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.