|
|||||||||
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.TbgParser
This class implements the TBG Parser.
Field Summary | |
TbgContext |
context
The actual context. |
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 | |
TbgParser()
This constructor creates a com.ibm.dse.tools.workbench.tbg.TbgParser object. |
Method Summary | |
void |
generate(boolean include)
Reads the template source line by line, looking for a TBG tag. |
void |
setContext(TbgContext aContext)
Sets the context property. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public TbgContext context
Constructor Detail |
public TbgParser()
Method Detail |
public void generate(boolean include) throws TbgException, WorkbenchException
To execute this method, firstly some variables must be set. This variables could be set by excuting the generator with the API, with the methods open, start, close.
include
- boolean Set to true if the generation comes from an include operation.public void setContext(TbgContext aContext)
aContext
- TbgContext The context to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |