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.
Instance Methods
 
__init__(self, extra_vars_func=None, options=None)
x.__init__(...) initializes x; see x.__class__.__doc__ 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 x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)