Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package docutils :: Module nodes :: Class document |
|
Node
--+ |Element
--+ |Root
--+ |Structural
--+ | document
Method Summary | |
---|---|
__init__(self,
settings,
reporter,
*args,
**kwargs)
| |
Return a DOM representation of this document. | |
Return a copy of self. | |
has_name(self,
name)
| |
note_anonymous_ref(self,
ref)
| |
note_anonymous_target(self,
target)
| |
note_autofootnote(self,
footnote)
| |
note_autofootnote_ref(self,
ref)
| |
note_citation(self,
citation)
| |
note_citation_ref(self,
ref)
| |
note_explicit_target(self,
target,
msgnode)
| |
note_external_target(self,
target)
| |
note_footnote(self,
footnote)
| |
note_footnote_ref(self,
ref)
| |
note_implicit_target(self,
target,
msgnode)
| |
note_indirect_target(self,
target)
| |
note_internal_target(self,
target)
| |
note_parse_message(self,
message)
| |
note_pending(self,
pending,
priority)
| |
note_refid(self,
node)
| |
note_refname(self,
node)
| |
note_source(self,
source,
offset)
| |
note_substitution_def(self,
subdef,
def_name,
msgnode)
| |
note_substitution_ref(self,
subref,
refname)
| |
note_symbol_footnote(self,
footnote)
| |
note_symbol_footnote_ref(self,
ref)
| |
note_transform_message(self,
message)
| |
set_duplicate_name_id(self,
node,
id,
name,
msgnode,
explicit)
| |
set_id(self,
node,
msgnode)
| |
self.nameids maps names to IDs, while self.nametypes maps names to
booleans representing hyperlink type (True==explicit,
False==implicit). | |
Inherited from Element | |
| |
| |
| |
Append a node or a list of nodes to self.children . | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Return the index of the first child whose class exactly matches. | |
Return the index of the first child whose class does not match. | |
| |
Return this element's children. | |
| |
| |
| |
| |
Return an indented pseudo-XML representation, for test purposes. | |
| |
| |
Replace one child Node with another child or children. | |
Add a new name to the "class" attribute. | |
| |
| |
| |
| |
Inherited from Node | |
Node instances are always true, even if they're empty. | |
| |
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 | |
---|---|
Inherited from Element | |
str |
child_text_separator = '\n\n'
|
NoneType |
tagname = None |
Inherited from Node | |
NoneType |
document = None |
NoneType |
line = None |
NoneType |
parent = None |
NoneType |
source = None |
Method Details |
---|
asdom(self, dom=<module 'xml.dom.minidom' from 'C:\WINDOWS\lib\xml\dom\mi...)Return a DOM representation of this document.
|
copy(self)Return a copy of self.
|
set_name_id_map(self, node, id, msgnode=None, explicit=None)
The following state transition table shows how
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:08:13 2003 | http://epydoc.sf.net |