genshi.template.plugin.TextTemplateEnginePlugin

Package genshi :: Package template :: Module plugin :: Class TextTemplateEnginePlugin |

# Class TextTemplateEnginePlugin

                      object --+
                               |
    AbstractTemplateEnginePlugin --+
                                   |
                                  TextTemplateEnginePlugin

Implementation of the plugin API for text templates.

Nested Classes
| template_class Legacy implementation of the old syntax text-based templates. This class is provided in a transition phase for backwards compatibility. New code should use the NewTextTemplate class and the improved syntax it provides.

Instance Methods
__init__(self, extra_vars_func=None, options=None) x.__init__(...) initializes x; see help(type(x)) for signature |
Inherited from `AbstractTemplateEnginePlugin`: `load_template`, `render`, `transform` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables
| extension = ``'``.txt``'`` hash(x)
| default_format = ``'``text``'`` hash(x)

Properties
Inherited from `object`: `__class__`

Method Details

### __init__(self, extra_vars_func=None, options=None) (Constructor) |
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)