Package zope :: Package interface :: Module adapter :: Class Surrogate
[show private | hide private]
[frames | no frames]

Type Surrogate

object --+
         |
        Surrogate


Specification surrogate

A specification surrogate is used to hold adapter registrations on behalf of a specification.
Method Summary
  __init__(self, spec, registry)
  __repr__(self)
  _adaptTo(self, specification, object, name, with)
  _subscriptionAdaptTo(self, specification, object, with)
  changed(self, which)
  clean(self)
  dirty(self)
  get(self, key)
Get an implied value
  subscribe(self, dependent)
  unsubscribe(self, dependent)
    Inherited from object
  __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
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
ReadProperty multiImplied = <zope.interface.adapter.ReadProperty obje...
ReadProperty selfImplied = <zope.interface.adapter.ReadProperty objec...

Method Details

get(self, key)

Get an implied value

This is only called when the surrogate is dirty

Class Variable Details

multiImplied

Type:
ReadProperty
Value:
<zope.interface.adapter.ReadProperty object at 0xb65e3ccc>             

selfImplied

Type:
ReadProperty
Value:
<zope.interface.adapter.ReadProperty object at 0xb65e3cac>             

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