Home | Trees | Index | Help |
|
---|
Package docutils :: Package transforms :: Class Transformer |
|
TransformSpec
--+
|
Transformer
Transform
classes) and applies them to document
trees. Also keeps track of components by component type name.Method Summary | |
---|---|
__init__(self,
document)
| |
Store a transform with an associated pending node. | |
Store a single transform. | |
Store multiple transforms, with default priorities. | |
Apply all of the stored transforms, in priority order. | |
Return a string, priority combined with self.serialno . | |
Store each component's default transforms, with default priorities. |
Class Variable Summary | |
---|---|
tuple |
default_transforms = (<class docutils.transforms.univers...
|
Method Details |
---|
add_pending(self, pending, priority=None)Store a transform with an associatedpending node. |
add_transform(self, transform_class, priority=None)Store a single transform. Usepriority to override the default. |
add_transforms(self, transform_list)Store multiple transforms, with default priorities. |
apply_transforms(self)Apply all of the stored transforms, in priority order. |
get_priority_string(self, priority)Return a string, This ensures FIFO order on transforms with identical priority. |
populate_from_components(self, components)Store each component's default transforms, with default priorities. Also, store components by type name in a mapping for later lookup. |
Class Variable Details |
---|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Tue Jul 22 05:30:46 2003 | http://epydoc.sf.net |