|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.tbg.TagSubst
This class implements a subst TBG tag.
Replaces a tag with dynamic contents retrieved from the database
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 | |
TagSubst()
This constructor creates a TagSubst object. |
Method Summary | |
java.lang.String |
generate(TbgContext aContext)
Implements the treatment of a TBG substituion tag. |
java.lang.String |
substTag(TbgContext aContext)
Returns the substitution of an specified expression. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TagSubst()
Method Detail |
public java.lang.String generate(TbgContext aContext) throws WorkbenchException
aContext
- TbgContext The context of the generation.public java.lang.String substTag(TbgContext aContext) throws WorkbenchException
This method is called when a TBG expression must be replaced, for example, to resolve the following expressions var.DESCRIPTOR, var.ITER, var.COUNT...). The expression to substitute mus be placed in the parameter "expression" inside the aContext class.
aContext
- TbgContext The actual context.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |