Package twisted :: Package popsicle :: Module mailsicle :: Class IHeaderSaver
[show private | hide private]
[frames | no frames]

Class IHeaderSaver

Interface --+
            |
           IHeaderSaver


I am an interface which allows objects to be saved to mail-style headers.
Method Summary
  descriptiveName(self)
Return a pretty-printed (non-unique) name describing me.
  getContinuations(self)
Get a list of 'continuation' sections.
  getIndexes(self)
Return a list of tuples of strings, [(index_name, index_value), ...]
  getItems(self)
Get a list of tuples of strings, [(key, value), ...].
  loadContinuations(self, cont)
Take the result of a getContinuations() call and populate self.original.
  loadItems(self, items, toplevel)
Take the result of a getItems() call and populate self.original.

Method Details

descriptiveName(self)

Return a pretty-printed (non-unique) name describing me.

getContinuations(self)

Get a list of 'continuation' sections. This is a list of lists of tuples.

getIndexes(self)

Return a list of tuples of strings, [(index_name, index_value), ...]

getItems(self)

Get a list of tuples of strings, [(key, value), ...].

loadContinuations(self, cont)

Take the result of a getContinuations() call and populate self.original.

loadItems(self, items, toplevel)

Take the result of a getItems() call and populate self.original.

'toplevel' is the top-level object if this is a continuation, otherwise it is self.original

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:25:46 2003 http://epydoc.sf.net