com.ibm.dse.tools.workbench.tbg
Class TagLoop

java.lang.Object
  |
  +--com.ibm.dse.tools.workbench.tbg.TagLoop

public class TagLoop
extends java.lang.Object
implements TagProcessor

This class implements a loop TBG tag.


Fields inherited from interface com.ibm.dse.tools.workbench.tbg.TbgNames
ATTRIB_LAST, ATTRIB_SEP, ATTRIBUTE, END_SIMPLE_TAG, END_TAG, INI_FINAL_TAG, INI_TAG, LITERAL, LITERAL_LAST1, LITERAL_LAST2, LITERAL_LAST3, LITERAL_SEP1, LITERAL_SEP2, LITERAL_SEP3
 
Constructor Summary
TagLoop()
          This constructor creates a TagLoop object.
 
Method Summary
 java.lang.String generate(TbgContext aContext)
          Implements a TBG loop operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagLoop

public TagLoop()
This constructor creates a TagLoop object.
Method Detail

generate

public java.lang.String generate(TbgContext aContext)
                          throws WorkbenchException,
                                 TbgException
Implements a TBG loop operation.
Specified by:
generate in interface TagProcessor
Parameters:
aContext - TbgContext The context of the generation.
Returns:
java.lang.String Returns a null value because this is a control tag.
Throws:
TbgException - When the loop generation throws a break or break_all TbgException.
WorkbenchException - Thrown if there have been problems writing to the log file, reading the template or during the loop generation.