class TMUtils

Declared in module tmutils

Synopsis

class TMUtils:
    def __init__(self, tm_handler) # Initialize a new instance.
    def __init_parser(self, parser) # Initialize the parser and the document handlers.
    def get_arch_handler(self) # Get the current architectural forms document handler.
    def get_parser(self, validating=0) # Get a parser object by using the standard saxexts ParserFactory.
    def get_parser_by_driver(self, driver) # Get a parser object by using the name of the parser's SAX driver.
    def get_tm_handler(self) # Get the current Topic Map document handler.
    def parse(self, parser, system_id) # Build a Topic Map datastructure from the document specified in the system identifier.
    def parseFile(self, parser, file_obj) # Build a Topic Map datastructure from the file object.
    def set_arch_handler(self, arch_name, arch_handler) # Set the architectural forms document handler to use.
    def set_tm_handler(self, tm_handler) # Set the Topic Map document handler to use.