class XMLTranslator(nodes.GenericNodeVisitor):
Undocumented
Method | __init__ |
Undocumented |
Method | default_departure |
Default node depart method. |
Method | default_visit |
Default node visit method. |
Method | depart_Text |
Undocumented |
Method | visit_raw |
Undocumented |
Method | visit_Text |
Undocumented |
Class Variable | doctype |
Undocumented |
Class Variable | generator |
Undocumented |
Class Variable | simple_nodes |
Undocumented |
Class Variable | xml_declaration |
Undocumented |
Class Variable | xmlparser |
SAX parser instance to check/extract raw XML. |
Instance Variable | error |
Undocumented |
Instance Variable | fixed_text |
Undocumented |
Instance Variable | in_simple |
Undocumented |
Instance Variable | indent |
Undocumented |
Instance Variable | level |
Undocumented |
Instance Variable | newline |
Undocumented |
Instance Variable | output |
Undocumented |
Instance Variable | settings |
Undocumented |
Instance Variable | the_handle |
Undocumented |
Instance Variable | warn |
Undocumented |
Inherited from NodeVisitor
(via GenericNodeVisitor
):
Method | dispatch_departure |
Call self."depart_ + node class name" with node as parameter. If the depart_... method does not exist, call self.unknown_departure. |
Method | dispatch_visit |
Call self."visit_ + node class name" with node as parameter. If the visit_... method does not exist, call self.unknown_visit. |
Method | unknown_departure |
Called before exiting unknown Node types. |
Method | unknown_visit |
Called when entering unknown Node types. |
Class Variable | optional |
Tuple containing node class names (as strings). |
Instance Variable | document |
Undocumented |