Package twisted :: Package popsicle :: Module mailsicle :: Class DefaultSaver
[frames | no frames]

Class DefaultSaver

Adapter --+
          |
         DefaultSaver

Known Subclasses:
IdentitySaver, PerspectiveSaver

Method Summary
  descriptiveName(self)
Return a pretty-printed (non-unique) name describing me.
  getContinuations(self)
Get a list of 'continuation' sections.
  getIndexes(self)
  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.
  loaditem_class(self, kv, vv)
  loaditem_oid(self, kv, vv)
  loadItems(self, items, toplevel)
Take the result of a getItems() call and populate self.original.
  postLoad(self)
  preLoad(self)
    Inherited from Adapter
  __init__(self, original)
Set my 'original' attribute to be the object I am adapting.
  getComponent(self, interface, registry, default)
I forward getComponent to self.original on the assumption that it is an instance of Componentized.
  isuper(self, iface, adapter)
Forward isuper to self.original

Class Variable Summary
class __implements__ = twisted.popsicle.mailsicle.IHeaderSaver
    Inherited from Adapter
int multiComponent: If this adapter is persistent, should it be automatically registered for all appropriate interfaces.
int temporaryAdapter: If this is True, the adapter will not be persisted on the Componentized.

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.

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 2.0 on Sat Sep 13 04:20:51 2003 http://epydoc.sf.net