net.kldp.jcodegen.code
Class ForEachBlock
java.lang.Object
net.kldp.jcodegen.base.AbstractCodeFragment
net.kldp.jcodegen.base.AbstractBlock
net.kldp.jcodegen.code.ForEachBlock
- All Implemented Interfaces:
- CodeFragment, Source
public class ForEachBlock
- extends AbstractBlock
Methods inherited from class net.kldp.jcodegen.base.AbstractCodeFragment |
addCommentLine, addImport, addImport, addModifier, appendComment, appendModifiers, eval, getModifiers, getVisibility, setVariable, setVisibility |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForEachBlock
public ForEachBlock(AbstractBlock parent)
ForEachBlock
public ForEachBlock(java.lang.String variable,
java.lang.String collection)
getCollection
public java.lang.String getCollection()
setCollection
public void setCollection(java.lang.String collection)
getVariable
public java.lang.String getVariable()
setVariable
public void setVariable(java.lang.String variable)
appendHeader
public void appendHeader(Output target,
Formatter formatter)
- Specified by:
appendHeader
in class AbstractBlock