addTemplateObject(TemplateObject templateObject) Adds the templateObject to the collection of template objects that will be made available to the
plugin during processing.
populateTemplateContext(Map templateContext) Populates the templateContext with the properties and template objects defined in the
plugin's descriptor.
public void addMacrolibrary(String macrolibrary)(Code)
Adds a macro library to the TemplateEngine used by this BasePlugin.
Parameters: macrolibrary -
addPropertyReference
public void addPropertyReference(String reference)(Code)
Adds a property reference. Property references are those properties that are expected to be supplied by the
calling client. These supplied properties are made available to the template during processing.
Parameters: reference - the namespace of the reference.
Adds the templateObject to the collection of template objects that will be made available to the
plugin during processing.
Parameters: templateObject - the TemplateObject to add.
Populates the templateContext with the properties and template objects defined in the
plugin's descriptor. If the templateContext is null, a new Map instance will be created
before populating the context.
Parameters: templateContext - the context of the template to populate.
setTemplateEngineClass
public void setTemplateEngineClass(String templateEngineClass)(Code)
Sets the template engine class for this cartridge.
Parameters: templateEngineClass - the Class of the template engine implementation.