Package Pyblosxom :: Package renderers :: Module debug :: Class Renderer
[show private | hide private]
[frames | no frames]

Class Renderer

RendererBase --+
               |
              Renderer


This is the debug renderer. This is very useful for debugging plugins and templates.
Method Summary
  render(self, header)
Renders a PyBlosxom request after we've gone through all the motions of converting data and getting entries to render.
    Inherited from RendererBase
  __init__(self, request, stdoutput)
Constructor: Initializes the Renderer
  addHeader(self, *args)
Populates the HTTP header with lines of text
  needsContentType(self, flag)
Use the renderer to determine 'Content-Type: x/x' default is to use the renderer for Content-Type, set flag to None to indicate no Content-Type generation.
  setContent(self, content)
Sets the content
  showHeaders(self)
Updated the headers of the Response instance.
  write(self, data)
Convenience method for programs to use instead of accessing self._out.write()

Method Details

render(self, header=1)

Renders a PyBlosxom request after we've gone through all the motions of converting data and getting entries to render.
Parameters:
header - either prints (1) or does not print (0) the http headers.
           (type=boolean)
Overrides:
Pyblosxom.renderers.base.RendererBase.render

Generated by Epydoc 2.1 on Tue Feb 7 21:43:58 2006 http://epydoc.sf.net