xdoclet.modules.apache.bsf
Class BsfEngineTagHandler
java.lang.Object
xdoclet.template.TemplateTagHandler
xdoclet.XDocletTagSupport
xdoclet.tagshandler.AbstractProgramElementTagsHandler
public class BsfEngineTagHandler
This is a tag handler able to execute BSF engine on a block!
void | clearVariables() - Clear all BSF variables
|
void | generator(String template, 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.
|
String | getVariable(Properties attributes) - Get a value of a BSF variable
|
checkForWrap , currentToken , exceptionList , firstSentenceDescriptionOfCurrentMember , forAllMemberTagTokens , forAllMemberTags , forAllMembers , getAllClasses , getClassNameFor , getFullClassNameFor , getFullSuperclassNameFor , getIndentChars , getXExecutableMemberForMemberName , getXExecutableMemberForMemberName , hasExecutableMember , hasExecutableMember_OLD , makeCopyOfArray , matchValue , memberComment , setMatchValue , skipToken |
delimit , expandClassName , generate , getCurrentClass , getCurrentClassTag , getCurrentConstructor , getCurrentField , getCurrentFieldTag , getCurrentMethod , getCurrentMethodTag , getCurrentPackage , getDocletContext , getEngine , getExpandedDelimitedTagValue , getTagValue , getTagValue , getTagValue , hasHavingClassTag , hasTag , isTagValueEqual , mandatoryParamNotFound , mandatoryTemplateTagParamNotFound , modifiers , popCurrentClass , pushCurrentClass , setCurrentClass , setCurrentClassTag , setCurrentConstructor , setCurrentField , setCurrentFieldTag , setCurrentMethod , setCurrentMethodTag , setCurrentPackage |
clearVariables
public void clearVariables()
throws xdoclet.XDocletException
Clear all BSF variables
xdoclet.XDocletException
-
generator
public void generator(String template,
Properties attributes)
throws xdoclet.template.TemplateException
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. If the disable="yes" attribute is set then the Velocity template
will not run at all.
template
- The body of the block tagattributes
- The attributes of the template tag
xdoclet.template.TemplateException
-
getVariable
public String getVariable(Properties attributes)
throws xdoclet.XDocletException
Get a value of a BSF variable
xdoclet.XDocletException
-