Home | Trees | Index | Help |
---|
Package twisted :: Package python :: Module components |
|
Classes | |
---|---|
Componentized |
I am a mixin to allow you to be adapted in various ways persistently. |
AdapterRegistry |
Function Summary | |
---|---|
Return boolean indicating if obj implements the given interface. | |
Return list of all interfaces an object implements, using a particular attribute name. | |
Given an interface, return list of super-interfaces (including itself). |
Variable Summary | |
---|---|
instance method |
registerAdapter
|
instance method |
getAdapter
|
instance method |
getAdapterClassWithInheritance
|
instance method |
getAdapterFactory
|
Function Details |
---|
getInterfaces(obj, attr='__implements__')Return list of all interfaces an object implements, using a particular attribute name. For example, if you wish to discover what interfaces a class implements directly, pass '__class_implements__' as the attribute name. |
implements(obj, interfaceClass)Return boolean indicating if obj implements the given interface. |
superInterfaces(interface)Given an interface, return list of super-interfaces (including itself). |
Variable Details |
---|
getAdaptergetAdapter = twisted.python.components.AdapterRegistry.getAdapter
|
getAdapterClassWithInheritancegetAdapterClassWithInheritance = twisted.python.components.AdapterRegistry.getAdapterClassWithInheritance
|
getAdapterFactorygetAdapterFactory = twisted.python.components.AdapterRegistry.getAdapterFactory
|
registerAdapterregisterAdapter = twisted.python.components.AdapterRegistry.registerAdapter
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:45:56 2003 | http://epydoc.sf.net |