org.mule.devkit.model.code
Class GeneratedForEach

java.lang.Object
  extended by org.mule.devkit.model.code.GeneratedForEach
All Implemented Interfaces:
Statement

public final class GeneratedForEach
extends Object
implements Statement

ForEach Statement This will generate the code for statement based on the new j2se 1.5 j.l.s.

Author:
Bhakti

Constructor Summary
GeneratedForEach(Type vartype, String variable, GeneratedExpression collection)
           
 
Method Summary
 GeneratedBlock body()
           
 void state(Formatter f)
           
 GeneratedVariable var()
          Returns a reference to the loop variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratedForEach

public GeneratedForEach(Type vartype,
                        String variable,
                        GeneratedExpression collection)
Method Detail

var

public GeneratedVariable var()
Returns a reference to the loop variable.


body

public GeneratedBlock body()

state

public void state(Formatter f)
Specified by:
state in interface Statement


Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.