Package genshi :: Package template :: Module plugin :: Class MarkupTemplateEnginePlugin

Class MarkupTemplateEnginePlugin



                  object --+    
                           |    
AbstractTemplateEnginePlugin --+
                               |
                              MarkupTemplateEnginePlugin

Implementation of the plugin API for markup templates.

Nested Classes
  template_class
Implementation of the template language for XML-based templates.
Instance Methods
 
__init__(self, extra_vars_func=None, options=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
transform(self, info, template)
Render the output to an event stream.

Inherited from AbstractTemplateEnginePlugin: load_template, render

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  extension = '.html'
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: AbstractTemplateEnginePlugin.__init__

transform(self, info, template)

 
Render the output to an event stream.
Overrides: AbstractTemplateEnginePlugin.transform