xdoclet.modules.apache

Class ScriptEngineTagHandler

public abstract class ScriptEngineTagHandler extends AbstractProgramElementTagsHandler

UNKNOWN: July 17, 2003

Field Summary
protected StringXDTSectionEnd
protected StringXDTSectionStart
Method Summary
protected voidescapeResults(TemplateEngine engine, StringBuffer results)
Escape and evaluate the sections with XDOCLET template engine.
protected voidfillVariables(SubTemplateEngine templateEngine)
Fill the variables passed to the engines
protected voidgenerate(SubTemplateEngine subengine, String template, Properties attributes)
protected StringgetSubTemplateVariable(SubTemplateEngine subengine, Properties attributes)
Get a subtemplate variable

Field Detail

XDTSectionEnd

protected final String XDTSectionEnd

XDTSectionStart

protected final String XDTSectionStart

Method Detail

escapeResults

protected final void escapeResults(TemplateEngine engine, StringBuffer results)
Escape and evaluate the sections with XDOCLET template engine. This allows embedding XDOCLET sections into Velocity sections

Parameters: engine The XDOCLET template engine results The results

Throws: TemplateException

fillVariables

protected final void fillVariables(SubTemplateEngine templateEngine)
Fill the variables passed to the engines

Parameters: templateEngine

Throws: XDocletException

generate

protected final void generate(SubTemplateEngine subengine, String template, Properties attributes)

Parameters: subengine The SubTemplateEngine used to generate template The body of the block tag attributes The attributes of the template tag

Throws: TemplateException xdoclet.template.TemplateException

getSubTemplateVariable

protected final String getSubTemplateVariable(SubTemplateEngine subengine, Properties attributes)
Get a subtemplate variable

Parameters: subengine The subtemplate engine attributes The attributes from XDOCLET tag

Returns: The value

Throws: XDocletException