Edgewall Software

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, Documentation

Last modified 9 years ago Last modified on Dec 10, 2015, 6:15:05 AM