Package docutils :: Package transforms :: Module misc :: Class CallBack
[show private | hide private]
[frames | no frames]

Class CallBack

Transform --+
            |
           CallBack


Inserts a callback into a document. The callback is called when the transform is applied, which is determined by its priority.

For use with nodes.pending elements. Requires a details['callback'] entry, a bound method or function which takes one parameter: the pending node. Other data can be stored in the details attribute or in the object hosting the callback method.


Method Summary
  apply(self)
Override to apply the transform to the document tree.
    Inherited from Transform
  __init__(self, document, startnode)
Initial setup for in-place document transforms.

Class Variable Summary
int default_priority = 990                                                                   

Method Details

apply(self)

Override to apply the transform to the document tree.
Overrides:
docutils.transforms.Transform.apply (inherited documentation)

Class Variable Details

default_priority

Type:
int
Value:
990                                                                   

Generated by Epydoc 2.0 on Tue Jul 22 05:30:49 2003 http://epydoc.sf.net