index
module components.common_modules.component
TarsqiComponent
Base class for Tarsqi components implemented in Python.
class TarsqiComponent
Inherits from: object

Abstract class for the python components.

Public Functions

pp_doctree(self, componentName)
Print the document tree. Assumes there is a doctree instance variable that contains a TarsqiTree object.
process(self, infile, outfile)
Ask the component to process a file fragment. This is the method that is called from the component wrappers and it should be overwritten on all subclasses. An error is written to the log file if this method is ever executed.