com.ibm.dse.tools.workbench.tbg
Interface TagProcessor
- All Known Implementing Classes:
- TagBr, TagBreak, TagComment, TagIf, TagLoop, TagSet, TagInclude, TagSubst, TagGetInstance, TagAssertion
- public interface TagProcessor
- extends TbgNames
This interface defines the common operation that a tag implementation must provide.
This interface must be implemented by any class that will process a new 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 |
Method Summary |
java.lang.String |
generate(TbgContext aContext)
This method must be implemented by any class that will process a new TBG tag. |
generate
public java.lang.String generate(TbgContext aContext)
throws WorkbenchException,
TbgException
- This method must be implemented by any class that will process a new TBG tag.
If the tag is a substituion tag, this method should return a String, this String will
be written in the output writer replacing the tag. Otherwise, if the tag is a flow control tag,
this method must return a null value, and this result will not be written.
- Parameters:
aContext
- TbgContext The context of the actual generation.- Throws:
- TbgException -
- WorkbenchException -