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

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

public class TagBr
extends java.lang.Object
implements TagProcessor

This class implements an br 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
TagBr()
          This constructor creates a TagBr object.
 
Method Summary
 java.lang.String generate(TbgContext aContext)
          Returns a carriage return character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagBr

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

generate

public java.lang.String generate(TbgContext aContext)
Returns a carriage return character.

If there is any tabulation set (because the actual template is an included sub-template), it returns the carriage return with the required tabulation.

Specified by:
generate in interface TagProcessor
Parameters:
aContext - TbgContext The actual context of the generation.
Returns:
java.lang.String The carry return.