Package flumotion :: Package common :: Module messages :: Class TranslatableSingular
[show private | hide private]
[frames | no frames]

Class TranslatableSingular

         FancyEqMixin --+
                        |
Jellyable --+           |
            |           |
 Serializable --+       |
                |       |
         Copyable --+   |
                    |   |
  Unjellyable --+   |   |
                |   |   |
       RemoteCopy --+   |
                    |   |
         Translatable --+
                        |
                       TranslatableSingular


I represent a translatable gettext msg in the singular form.
Method Summary
  __init__(self, domain, format, *args)
    Inherited from Copyable
  getStateToCopy(self)
Gather state to send when I am serialized for a peer.
  getStateToCopyFor(self, perspective)
Gather state to send when I am serialized for a particular perspective.
  getTypeToCopy(self)
Determine what type tag to send for me.
  getTypeToCopyFor(self, perspective)
Determine what type tag to send for me.
  jellyFor(self, jellier)
Assemble type tag and state to copy for this broker.
    Inherited from Serializable
  processUniqueID(self)
Return an ID which uniquely represents this object for this process.
    Inherited from Jellyable
  getStateFor(self, jellier)
    Inherited from RemoteCopy
  setCopyableState(self, state)
I will be invoked with the state to copy locally.
  unjellyFor(self, unjellier, jellyList)
Perform the inverse operation of Jellyable.jellyFor.
    Inherited from Unjellyable
  setStateFor(self, unjellier, state)
    Inherited from FancyEqMixin
  __eq__(self, other)
  __ne__(self, other)

Class Variable Summary
list compareAttributes = ['domain', 'format', 'args']
    Inherited from Translatable
NoneType domain = None                                                                  
    Inherited from Copyable
Implements __implemented__ = <implementedBy twisted.spread.flavors....
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Jellyable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

__init__(self, domain, format, *args)
(Constructor)

Parameters:
domain - the text domain for translations of this message
format - a format string
args - any arguments to the format string

Class Variable Details

compareAttributes

Type:
list
Value:
['domain', 'format', 'args']                                           

Generated by Epydoc 2.1 on Fri Apr 6 10:10:25 2007 http://epydoc.sf.net