class documentation

class XMLTranslator(nodes.GenericNodeVisitor): (source)

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/exctract 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): (source)

Undocumented

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

Undocumented

def visit_raw(self, node): (source)

Undocumented

def visit_Text(self, node): (source)

Undocumented

doctype: str = (source)

Undocumented

generator: str = (source)

Undocumented

simple_nodes = (source)

Undocumented

xml_declaration: str = (source)

Undocumented

xmlparser = (source)
SAX parser instance to check/exctract raw XML.
error = (source)

Undocumented

fixed_text: int = (source)

Undocumented

in_simple: int = (source)

Undocumented

indent: str = (source)

Undocumented

level: int = (source)

Undocumented

newline: str = (source)

Undocumented

output: list = (source)

Undocumented

settings = (source)

Undocumented

the_handle = (source)

Undocumented

warn = (source)

Undocumented