Package zope :: Package i18n :: Package locales :: Class LocaleDisplayNames
[show private | hide private]
[frames | no frames]

Type LocaleDisplayNames

      object --+        
               |        
     Inheritance --+    
                   |    
AttributeInheritance --+
                       |
                      LocaleDisplayNames


Locale display names with inheritable data.

Examples:
 >>> from zope.i18n.locales.tests.test_docstrings import \
 ...     LocaleInheritanceStub
 >>> root = LocaleInheritanceStub()
 >>> root.displayNames = LocaleDisplayNames()
 >>> root.displayNames.languages = ['en', 'de']
 >>> root.displayNames.keys = ['foo', 'bar']

 >>> locale = LocaleInheritanceStub(nextLocale=root)
 >>> locale.displayNames = LocaleDisplayNames()
 >>> locale.displayNames.keys = ['fu', 'bahr']

 Here you can see the inheritance in action

 >>> locale.displayNames.languages
 ['en', 'de']
 >>> locale.displayNames.keys
 ['fu', 'bahr']

Method Summary
    Inherited from AttributeInheritance
  __getattr__(self, name)
See zope.i18n.interfaces.locales.ILocaleInheritance
  __setattr__(self, name, value)
See zope.i18n.interfaces.locales.ILocaleInheritance
    Inherited from Inheritance
  getInheritedSelf(self)
See zope.i18n.interfaces.locales.ILocaleInheritance
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
Implements __implemented__ = <implementedBy zope.i18n.locales.Local...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from Inheritance
str __name__ = 'Inheritance'
NoneType __parent__ = None                                                                  
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy zope.i18n.locales.LocaleDisplayNames>                   

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0xb5ed74ec>       

Generated by Epydoc 2.1 on Fri Jun 24 12:01:23 2005 http://epydoc.sf.net