Edgewall Software

ApiDocs/0.6.x/genshi.template.plugin

Version 1 (modified by cmlenz, 5 years ago)

--

genshi.template.plugin

Basic support for the template engine plugin API used by TurboGears and CherryPy/Buffet.

ConfigurationError

Exception raised when invalid plugin options are encountered.

AbstractTemplateEnginePlugin

Implementation of the plugin API.

load_template(self, templatename, template_string=None)

Find a template specified in python 'dot' notation, or load one from a string.

render(self, info, format=None, fragment=False, template=None)

Render the template to a string using the provided info.

transform(self, info, template)

Render the output to an event stream.

MarkupTemplateEnginePlugin

Implementation of the plugin API for markup templates.

transform(self, info, template)

Render the output to an event stream.

TextTemplateEnginePlugin

Implementation of the plugin API for text templates.


See ApiDocs/0.6.x, Documentation