Synopsis - Synopsis.Formatters.DocBook.DocBook.FormatterBase

package Synopsis.Formatters.DocBook.DocBook
class FormatterBase
File: ../Synopsis/Formatters/DocBook/__init__.py
Attributes Summary:
processor
output
base_dir
nested_modules
secondary_index
inheritance_graphs
graph_color
__scope
__scopestack
__indent
__elements
Methods Summary:
__init__(self, processor, output, base_dir, nested_modules, secondary_index, inheritance_graphs, graph_color)
scope(self)
push_scope(self, newscope)
pop_scope(self)
write(self, text)
Write some text to the output stream, replacing 's with 's and indents.
start_element(self, type, * * params)
end_element(self)
write_element(self, element, body, end = '\n', * * params)
element(self, element, body, * * params)
Methods Details:
write(self, text)
Write some text to the output stream, replacing 's with 's and indents.
start_element(self, type, * * params)
Write the start of an element, ending with a newline
end_element(self)
Write the end of an element, starting with a newline
write_element(self, element, body, end = '\n', * * params)
Write a single element on one line (though body may contain newlines)
element(self, element, body, * * params)
Return but do not write the text for an element on one line
Generated on Thu Apr 16 16:26:59 2009 by
synopsis (version devel)