| Home | Trees | Index | Help |
|
|---|
| Package docutils :: Module nodes :: Class TextElement |
|
Node--+ |Element--+ | TextElement
abbreviation,
acronym,
attribution,
author,
caption,
citation_reference,
classifier,
contact,
copyright,
date,
emphasis,
field_name,
FixedTextElement,
footnote_reference,
generated,
image,
inline,
label,
literal,
option_argument,
option_string,
organization,
paragraph,
problematic,
reference,
revision,
rubric,
status,
strong,
subscript,
substitution_definition,
substitution_reference,
subtitle,
superscript,
target,
term,
title,
title_reference,
versionAn element which directly contains text.
Its children are all Text or TextElement nodes.
| Method Summary | |
|---|---|
__init__(self,
rawsource,
text,
*children,
**attributes)
| |
| Inherited from Element | |
| |
| |
| |
Append a node or a list of nodes to self.children. | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Return a copy of self. | |
| |
| |
| |
| |
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. | |
Return a DOM fragment representation of this Node. | |
| |
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 | |
|---|---|
str |
child_text_separator = ''
|
| Inherited from Element | |
NoneType |
tagname = None |
| Inherited from Node | |
NoneType |
document = None |
NoneType |
line = None |
NoneType |
parent = None |
NoneType |
source = None |
| Class Variable Details |
|---|
child_text_separator
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Tue Jul 22 05:31:22 2003 | http://epydoc.sf.net |