|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectxdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.tagshandler.AbstractProgramElementTagsHandler
xdoclet.modules.apache.ScriptEngineTagHandler
xdoclet.modules.apache.bsf.BsfEngineTagHandler
This is a tag handler able to execute BSF engine on a block!
| Field Summary |
| Fields inherited from class xdoclet.modules.apache.ScriptEngineTagHandler |
XDTSectionEnd, XDTSectionStart |
| Fields inherited from class xdoclet.tagshandler.AbstractProgramElementTagsHandler |
currentToken, matchPattern, tagTokenizer |
| Fields inherited from class xdoclet.XDocletTagSupport |
FOR_CLASS, FOR_CONSTRUCTOR, FOR_FIELD, FOR_METHOD, PARAMETER_DELIMITER |
| Constructor Summary | |
BsfEngineTagHandler()
|
|
| Method Summary | |
void |
clearVariables()
Clear all BSF variables |
void |
generator(java.lang.String template,
java.util.Properties attributes)
Evaluates the body block with the BSF script If the silent="yes" attribute is set then the Generator will not produce any output, but the template will run. |
java.lang.String |
getVariable(java.util.Properties attributes)
Get a value of a BSF variable |
| Methods inherited from class xdoclet.modules.apache.ScriptEngineTagHandler |
escapeResults, fillVariables, generate, getSubTemplateVariable |
| Methods inherited from class xdoclet.template.TemplateTagHandler |
getXJavaDoc, setXJavaDoc |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BsfEngineTagHandler()
| Method Detail |
public java.lang.String getVariable(java.util.Properties attributes)
throws XDocletException
attributes -
XDocletException
public void generator(java.lang.String template,
java.util.Properties attributes)
throws TemplateException
template - The body of the block tagattributes - The attributes of the template tag
TemplateException
public void clearVariables()
throws XDocletException
XDocletException
|
http://xdoclet.sourceforge.net/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||