Home | Trees | Index | Help |
|
---|
Package docutils :: Module nodes :: Class Node |
|
Element
,
Text
Method Summary | |
---|---|
Node instances are always true, even if they're empty. | |
Return a DOM fragment representation of this Node. | |
Return a copy of self. | |
Return an indented pseudo-XML representation, for test purposes. | |
setup_child(self,
child)
| |
Traverse a tree of Node objects, calling visit_... methods of
visitor when entering each node. | |
Perform a tree traversal similarly to Node.walk() (which see),
except also call depart_... methods before exiting each node. |
Class Variable Summary | |
---|---|
NoneType |
document = None |
NoneType |
line = None |
NoneType |
parent = None |
NoneType |
source = None |
Method Details |
---|
__nonzero__(self)
|
asdom(self, dom=<module 'xml.dom.minidom' from '/usr/lib/python2.2/site-p...)Return a DOM fragment representation of this Node. |
copy(self)Return a copy of self. |
pformat(self, indent=' ', level=0)Return an indented pseudo-XML representation, for test purposes. |
walk(self, visitor)Traverse a tree of This tree traversal supports limited in-place tree modifications. Replacing one node with one or more nodes is OK, as is removing an element. However, if the node removed or replaced occurs after the current node, the old node will still be traversed, and any new nodes will not. Within visit_... methods (and depart_... methods for
Parameter |
walkabout(self, visitor)Perform a tree traversal similarly to Parameter |
Class Variable Details |
---|
document
|
line
|
parent
|
source
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Tue Jul 22 05:30:43 2003 | http://epydoc.sf.net |