Class Adapter
- Known Subclasses:
-
ManholeClient
,
DefaultSaver
I am the default implementation of an Adapter for some interface.
This docstring contains a limerick, by popular demand:
Subclassing made Zope and TR
much harder to work with by far.
So before you inherit,
be sure to declare it
Adapter, not PyObject*
Method Summary |
|
__init__ (self,
original)
Set my 'original' attribute to be the object I am adapting. |
|
getComponent (self,
interface)
I forward getComponent to self.original on the assumption that it is
an instance of Componentized. |
__init__(self,
original)
(Constructor)
Set my 'original' attribute to be the object I am adapting.
-
|
getComponent(self,
interface)
I forward getComponent to self.original on the assumption that it is
an instance of Componentized.
-
|
multiComponent
-
- Type:
-
int
- Value:
|
temporaryAdapter
-
- Type:
-
int
- Value:
|