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. |
default_priority
-
- Type:
-
int
- Value:
|