xdoclet.modules.apache.bsf

Class BsfEngineTagHandler

public class BsfEngineTagHandler extends ScriptEngineTagHandler

This is a tag handler able to execute BSF engine on a block!

Author: zluspai

UNKNOWN: July 16, 2003 namespace = "Bsf"

Method Summary
voidclearVariables()
Clear all BSF variables
voidgenerator(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.
StringgetVariable(Properties attributes)
Get a value of a BSF variable

Method Detail

clearVariables

public void clearVariables()
Clear all BSF variables

Throws: XDocletException

UNKNOWN: type = "content"

generator

public 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. If the disable="yes" attribute is set then the Velocity template will not run at all.

Parameters: template The body of the block tag attributes The attributes of the template tag

Throws: TemplateException

UNKNOWN: type = "block"

getVariable

public String getVariable(Properties attributes)
Get a value of a BSF variable

Parameters: attributes

Returns:

Throws: XDocletException

UNKNOWN: type = "content"