class documentation

class XMLTranslator(nodes.GenericNodeVisitor):

View In Hierarchy

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
def __init__(self, document):

Undocumented

def default_departure(self, node):
Default node depart method.
def default_visit(self, node):
Default node visit method.
def depart_Text(self, node):

Undocumented

def visit_raw(self, node):

Undocumented

def visit_Text(self, node):

Undocumented

doctype: str =

Undocumented

generator: str =

Undocumented

simple_nodes =

Undocumented

xml_declaration: str =

Undocumented

xmlparser =
SAX parser instance to check/extract raw XML.
error =

Undocumented

fixed_text: int =

Undocumented

in_simple: int =

Undocumented

indent: str =

Undocumented

level: int =

Undocumented

newline: str =

Undocumented

output: list =

Undocumented

settings =

Undocumented

the_handle =

Undocumented

warn =

Undocumented