basictypes.interfaces
index
p:\properties\basictypes\interfaces.py

Interfaces for basictypes and basicproperty
 
XXX Should we do adapters from basicproperty objects to
        zope schema field objects?

 
Classes
       
Interface
IBoundary
IBoundaryError
ICloneProperties
IDataTypeDeclaration
IFriendlyName
IName
ICallable
ICallableArgument
IProperty
IPropertyDefaultHolder
IPropertyDefaults
IPropertyMethodStore
IPropertyPickle
IPropertyReadOnly
IPyDocumented
IPyName
ITypeBaseType
ITypeCheck
ITypeCoercion
ITypeFactories
ITypeProperties

 
class IBoundary(Interface)
    A boundary object for checking a value
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IBoundary'
__iro__ = (<InterfaceClass basictypes.interfaces.IBoundary at 169e890>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842568>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1AF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__call__': <zope.interface.interface.Method object at 0x0169E8F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'A boundary object for checking a value', '__identifier__': 'basictypes.interfaces.IBoundary', '__iro__': (<InterfaceClass basictypes.interfaces.IBoundary at 169e890>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IBoundary', '_implied': {<InterfaceClass basictypes.interfaces.IBoundary at 169e890>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IBoundary at 169e890>', ...}
__getattribute__ = <method-wrapper object at 0x01AD10B0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1AF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E890>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1D90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD10B0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0870; to 'InterfaceClass' at 0169E890 (IBoundary)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E890>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E890>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E890>
Test whether a specification is or extends another

 
class IBoundaryError(Interface)
    Provides rich information about a boundary error
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IBoundaryError'
__iro__ = (<InterfaceClass basictypes.interfaces.IBoundaryError at 169ea10>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842608>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1810>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__init__': <zope.interface.interface.Method object at 0x0169EA90>, 'boundary': <zope.interface.interface.Attribute object at 0x0169E950>, 'client': <zope.interface.interface.Attribute object at 0x0169E9D0>, 'message': <zope.interface.interface.Attribute object at 0x0169EA30>, 'property': <zope.interface.interface.Attribute object at 0x0169E910>, 'value': <zope.interface.interface.Attribute object at 0x0169E9B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Provides rich information about a boundary error', '__identifier__': 'basictypes.interfaces.IBoundaryError', '__iro__': (<InterfaceClass basictypes.interfaces.IBoundaryError at 169ea10>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IBoundaryError', '_implied': {<InterfaceClass basictypes.interfaces.IBoundaryError at 169ea10>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IBoundaryError at 169ea10>', ...}
__getattribute__ = <method-wrapper object at 0x01AD11F0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1810>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169EA10>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1AF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD11F0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C08D0; to 'InterfaceClass' at 0169EA10 (IBoundaryError)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169EA10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169EA10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169EA10>
Test whether a specification is or extends another

 
class ICallable(IName)
    Describes and provides access to a callable object
 
 
Method resolution order:
ICallable
IName
Interface

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.interfaces.IName at 168b570>,)
__identifier__ = 'basictypes.interfaces.ICallable'
__iro__ = (<InterfaceClass basictypes.interfaces.ICallable at 169e750>, <InterfaceClass basictypes.interfaces.IName at 168b570>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842488>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1A90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__call__': <zope.interface.interface.Method object at 0x0169E830>, '__init__': <zope.interface.interface.Method object at 0x0169E790>, 'arguments': <zope.interface.interface.Attribute object at 0x0169E6D0>, 'coerce': <zope.interface.interface.Attribute object at 0x0169E710>, 'getArgument': <zope.interface.interface.Method object at 0x0169E7F0>, 'longHelp': <zope.interface.interface.Attribute object at 0x0169E650>, 'name': <zope.interface.interface.Attribute object at 0x0169E6B0>, 'shortHelp': <zope.interface.interface.Attribute object at 0x0169E630>}, '__bases__': (<InterfaceClass basictypes.interfaces.IName at 168b570>,), '__doc__': 'Describes and provides access to a callable object', '__identifier__': 'basictypes.interfaces.ICallable', '__iro__': (<InterfaceClass basictypes.interfaces.ICallable at 169e750>, <InterfaceClass basictypes.interfaces.IName at 168b570>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'ICallable', '_implied': {<InterfaceClass basictypes.interfaces.ICallable at 169e750>: (), <InterfaceClass basictypes.interfaces.IName at 168b570>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.ICallable at 169e750>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1D90>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1A90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E750>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1D30>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1D90>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0810; to 'InterfaceClass' at 0169E750 (ICallable)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E750>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E750>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E750>
Test whether a specification is or extends another

 
class ICallableArgument(IName)
    Describes an argument to a callable object
 
Note that ITypeBaseType may be provided by particular
subclasses to allow for type checking.
 
 
Method resolution order:
ICallableArgument
IName
Interface

Data and other attributes defined here:
__bases__ = (<InterfaceClass basictypes.interfaces.IName at 168b570>,)
__identifier__ = 'basictypes.interfaces.ICallableArgument'
__iro__ = (<InterfaceClass basictypes.interfaces.ICallableArgument at 169e7b0>, <InterfaceClass basictypes.interfaces.IName at 168b570>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842408>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1D90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__eq__': <zope.interface.interface.Method object at 0x0169E6F0>, 'default': <zope.interface.interface.Attribute object at 0x0169E670>}, '__bases__': (<InterfaceClass basictypes.interfaces.IName at 168b570>,), '__doc__': 'Describes an argument to a callable object\n\n\tNot...ticular\n\tsubclasses to allow for type checking.\n\t', '__identifier__': 'basictypes.interfaces.ICallableArgument', '__iro__': (<InterfaceClass basictypes.interfaces.ICallableArgument at 169e7b0>, <InterfaceClass basictypes.interfaces.IName at 168b570>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'ICallableArgument', '_implied': {<InterfaceClass basictypes.interfaces.ICallableArgument at 169e7b0>: (), <InterfaceClass basictypes.interfaces.IName at 168b570>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.ICallableArgument at 169e7b0>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1210>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1D90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E7B0>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1C90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1210>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C07B0; to 'InterfaceClass' at 0169E7B0 (ICallableArgument)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E7B0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E7B0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E7B0>
Test whether a specification is or extends another

 
class ICloneProperties(Interface)
    Live-object duplication mechanism with property substitution
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.ICloneProperties'
__iro__ = (<InterfaceClass basictypes.interfaces.ICloneProperties at 169e250>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23634488>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1A90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'clone': <zope.interface.interface.Method object at 0x0169EE90>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Live-object duplication mechanism with property substitution', '__identifier__': 'basictypes.interfaces.ICloneProperties', '__iro__': (<InterfaceClass basictypes.interfaces.ICloneProperties at 169e250>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'ICloneProperties', '_implied': {<InterfaceClass basictypes.interfaces.ICloneProperties at 169e250>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.ICloneProperties at 169e250>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1C10>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1A90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E250>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD15B0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1C10>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0510; to 'InterfaceClass' at 0169E250 (ICloneProperties)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E250>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E250>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E250>
Test whether a specification is or extends another

 
class IDataTypeDeclaration(Interface)
    Object provides a dataType compatible with wxoo
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IDataTypeDeclaration'
__iro__ = (<InterfaceClass basictypes.interfaces.IDataTypeDeclaration at 169e430>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23636528>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1BD0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'dataType': <zope.interface.interface.Attribute object at 0x0169E4B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Object provides a dataType compatible with wxoo', '__identifier__': 'basictypes.interfaces.IDataTypeDeclaration', '__iro__': (<InterfaceClass basictypes.interfaces.IDataTypeDeclaration at 169e430>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IDataTypeDeclaration', '_implied': {<InterfaceClass basictypes.interfaces.IDataTypeDeclaration at 169e430>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IDataTypeDeclaration at 169e430>', ...}
__getattribute__ = <method-wrapper object at 0x01AD18D0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1BD0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E430>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1C90>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD18D0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0690; to 'InterfaceClass' at 0169E430 (IDataTypeDeclaration)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E430>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E430>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E430>
Test whether a specification is or extends another

 
class IFriendlyName(Interface)
    Provide a friendly name for an object
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IFriendlyName'
__iro__ = (<InterfaceClass basictypes.interfaces.IFriendlyName at 169e210>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23584520>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1C10>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'friendlyName': <zope.interface.interface.Attribute object at 0x0168B630>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Provide a friendly name for an object', '__identifier__': 'basictypes.interfaces.IFriendlyName', '__iro__': (<InterfaceClass basictypes.interfaces.IFriendlyName at 169e210>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IFriendlyName', '_implied': {<InterfaceClass basictypes.interfaces.IFriendlyName at 169e210>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IFriendlyName at 169e210>', ...}
__getattribute__ = <method-wrapper object at 0x01AD11B0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1C10>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E210>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1A30>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD11B0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C03F0; to 'InterfaceClass' at 0169E210 (IFriendlyName)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E210>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E210>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E210>
Test whether a specification is or extends another

 
class IName(Interface)
    Provide a generic name for an object
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IName'
__iro__ = (<InterfaceClass basictypes.interfaces.IName at 168b570>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23584360>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1A90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'name': <zope.interface.interface.Attribute object at 0x0168B770>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Provide a generic name for an object', '__identifier__': 'basictypes.interfaces.IName', '__iro__': (<InterfaceClass basictypes.interfaces.IName at 168b570>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IName', '_implied': {<InterfaceClass basictypes.interfaces.IName at 168b570>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IName at 168b570>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1230>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1A90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0168B570>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1FD0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1230>
x.__str__() <==> str(x)
__weakref__ = <weakref at 01687990; to 'InterfaceClass' at 0168B570 (IName)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0168B570>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0168B570>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0168B570>
Test whether a specification is or extends another

 
class IProperty(Interface)
    High-level functionality of BasicProperty-like objects
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IProperty'
__iro__ = (<InterfaceClass basictypes.interfaces.IProperty at 169ec70>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842728>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1450>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__delete__': <zope.interface.interface.Method object at 0x0169ED30>, '__get__': <zope.interface.interface.Method object at 0x0169ED90>, '__set__': <zope.interface.interface.Method object at 0x0169EE10>, 'name': <zope.interface.interface.Attribute object at 0x0169ECB0>, 'trueProperty': <zope.interface.interface.Attribute object at 0x0169EC50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'High-level functionality of BasicProperty-like objects', '__identifier__': 'basictypes.interfaces.IProperty', '__iro__': (<InterfaceClass basictypes.interfaces.IProperty at 169ec70>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IProperty', '_implied': {<InterfaceClass basictypes.interfaces.IProperty at 169ec70>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IProperty at 169ec70>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1190>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1450>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169EC70>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD13F0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1190>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C09F0; to 'InterfaceClass' at 0169EC70 (IProperty)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169EC70>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169EC70>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169EC70>
Test whether a specification is or extends another

 
class IPropertyDefaultHolder(Interface)
    Callable-object producing a default value for property
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IPropertyDefaultHolder'
__iro__ = (<InterfaceClass basictypes.interfaces.IPropertyDefaultHolder at 169ec10>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842688>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1A90>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__call__': <zope.interface.interface.Method object at 0x0169EBF0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Callable-object producing a default value for property', '__identifier__': 'basictypes.interfaces.IPropertyDefaultHolder', '__iro__': (<InterfaceClass basictypes.interfaces.IPropertyDefaultHolder at 169ec10>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IPropertyDefaultHolder', '_implied': {<InterfaceClass basictypes.interfaces.IPropertyDefaultHolder at 169ec10>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IPropertyDefaultHolder at 169ec10>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1B70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1A90>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169EC10>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1770>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1B70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0990; to 'InterfaceClass' at 0169EC10 (IPropertyDefaultHolder)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169EC10>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169EC10>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169EC10>
Test whether a specification is or extends another

 
class IPropertyDefaults(Interface)
    Property interface providing default-value semantics
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IPropertyDefaults'
__iro__ = (<InterfaceClass basictypes.interfaces.IPropertyDefaults at 169eab0>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842648>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD13F0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'default': <zope.interface.interface.Attribute object at 0x0169EB10>, 'setDefaultOnGet': <zope.interface.interface.Attribute object at 0x0169EB50>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Property interface providing default-value semantics', '__identifier__': 'basictypes.interfaces.IPropertyDefaults', '__iro__': (<InterfaceClass basictypes.interfaces.IPropertyDefaults at 169eab0>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IPropertyDefaults', '_implied': {<InterfaceClass basictypes.interfaces.IPropertyDefaults at 169eab0>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IPropertyDefaults at 169eab0>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1850>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD13F0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169EAB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1790>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1850>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0930; to 'InterfaceClass' at 0169EAB0 (IPropertyDefaults)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169EAB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169EAB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169EAB0>
Test whether a specification is or extends another

 
class IPropertyMethodStore(Interface)
    Objects using client methods for data storage/retrieval
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IPropertyMethodStore'
__iro__ = (<InterfaceClass basictypes.interfaces.IPropertyMethodStore at 16a8bb0>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842808>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1810>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'delMethod': <zope.interface.interface.Attribute object at 0x016A8B10>, 'getMethod': <zope.interface.interface.Attribute object at 0x016A8B70>, 'setMethod': <zope.interface.interface.Attribute object at 0x016A8B90>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Objects using client methods for data storage/retrieval', '__identifier__': 'basictypes.interfaces.IPropertyMethodStore', '__iro__': (<InterfaceClass basictypes.interfaces.IPropertyMethodStore at 16a8bb0>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IPropertyMethodStore', '_implied': {<InterfaceClass basictypes.interfaces.IPropertyMethodStore at 16a8bb0>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IPropertyMethodStore at 16a8bb0>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1230>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1810>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x016A8BB0>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1B70>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1230>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0AB0; to 'InterfaceClass' at 016A8BB0 (IPropertyMethodStore)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x016A8BB0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x016A8BB0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x016A8BB0>
Test whether a specification is or extends another

 
class IPropertyPickle(Interface)
    Provide pickle support to retrieve/set property values
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IPropertyPickle'
__iro__ = (<InterfaceClass basictypes.interfaces.IPropertyPickle at 169edd0>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842768>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1B70>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'getState': <zope.interface.interface.Method object at 0x016A8AF0>, 'setState': <zope.interface.interface.Method object at 0x016A8B30>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Provide pickle support to retrieve/set property values', '__identifier__': 'basictypes.interfaces.IPropertyPickle', '__iro__': (<InterfaceClass basictypes.interfaces.IPropertyPickle at 169edd0>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IPropertyPickle', '_implied': {<InterfaceClass basictypes.interfaces.IPropertyPickle at 169edd0>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IPropertyPickle at 169edd0>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1190>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1B70>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169EDD0>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1710>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1190>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0A50; to 'InterfaceClass' at 0169EDD0 (IPropertyPickle)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169EDD0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169EDD0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169EDD0>
Test whether a specification is or extends another

 
class IPropertyReadOnly(Interface)
    Read-only flags for Property-like objects
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IPropertyReadOnly'
__iro__ = (<InterfaceClass basictypes.interfaces.IPropertyReadOnly at 16a8c50>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 24842848>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD11F0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'readOnly': <zope.interface.interface.Attribute object at 0x016A8C90>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Read-only flags for Property-like objects', '__identifier__': 'basictypes.interfaces.IPropertyReadOnly', '__iro__': (<InterfaceClass basictypes.interfaces.IPropertyReadOnly at 16a8c50>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IPropertyReadOnly', '_implied': {<InterfaceClass basictypes.interfaces.IPropertyReadOnly at 16a8c50>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IPropertyReadOnly at 16a8c50>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1790>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD11F0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x016A8C50>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1850>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1790>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0B10; to 'InterfaceClass' at 016A8C50 (IPropertyReadOnly)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x016A8C50>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x016A8C50>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x016A8C50>
Test whether a specification is or extends another

 
class IPyDocumented(Interface)
     Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IPyDocumented'
__iro__ = (<InterfaceClass basictypes.interfaces.IPyDocumented at 169e0d0>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23634128>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1710>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__doc__': <zope.interface.interface.Attribute object at 0x0169E190>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': '', '__identifier__': 'basictypes.interfaces.IPyDocumented', '__iro__': (<InterfaceClass basictypes.interfaces.IPyDocumented at 169e0d0>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IPyDocumented', '_implied': {<InterfaceClass basictypes.interfaces.IPyDocumented at 169e0d0>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IPyDocumented at 169e0d0>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1C10>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1710>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E0D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1AF0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1C10>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C04B0; to 'InterfaceClass' at 0169E0D0 (IPyDocumented)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E0D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E0D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E0D0>
Test whether a specification is or extends another

 
class IPyName(Interface)
    Object providing a generic name as __name__
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.IPyName'
__iro__ = (<InterfaceClass basictypes.interfaces.IPyName at 169e1d0>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23634088>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01ACAEF0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'__name__': <zope.interface.interface.Attribute object at 0x0169E2B0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Object providing a generic name as __name__', '__identifier__': 'basictypes.interfaces.IPyName', '__iro__': (<InterfaceClass basictypes.interfaces.IPyName at 169e1d0>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'IPyName', '_implied': {<InterfaceClass basictypes.interfaces.IPyName at 169e1d0>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.IPyName at 169e1d0>', ...}
__getattribute__ = <method-wrapper object at 0x01ACAE10>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01ACAEF0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E1D0>
helper for pickle
__setattr__ = <method-wrapper object at 0x01ACAED0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01ACAE10>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0450; to 'InterfaceClass' at 0169E1D0 (IPyName)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E1D0>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E1D0>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E1D0>
Test whether a specification is or extends another

 
class ITypeBaseType(Interface)
    Objects with base data types for dependent objects
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.ITypeBaseType'
__iro__ = (<InterfaceClass basictypes.interfaces.ITypeBaseType at 169e590>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23636568>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1E10>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'baseType': <zope.interface.interface.Attribute object at 0x0169E510>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Objects with base data types for dependent objects', '__identifier__': 'basictypes.interfaces.ITypeBaseType', '__iro__': (<InterfaceClass basictypes.interfaces.ITypeBaseType at 169e590>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'ITypeBaseType', '_implied': {<InterfaceClass basictypes.interfaces.ITypeBaseType at 169e590>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.ITypeBaseType at 169e590>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1310>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1E10>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E590>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD10B0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1310>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C06F0; to 'InterfaceClass' at 0169E590 (ITypeBaseType)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E590>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E590>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E590>
Test whether a specification is or extends another

 
class ITypeCheck(Interface)
    Interface checking whether value is proper instance of type
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.ITypeCheck'
__iro__ = (<InterfaceClass basictypes.interfaces.ITypeCheck at 169e370>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23636408>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD10D0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'check': <zope.interface.interface.Method object at 0x0169E350>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Interface checking whether value is proper instance of type', '__identifier__': 'basictypes.interfaces.ITypeCheck', '__iro__': (<InterfaceClass basictypes.interfaces.ITypeCheck at 169e370>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'ITypeCheck', '_implied': {<InterfaceClass basictypes.interfaces.ITypeCheck at 169e370>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.ITypeCheck at 169e370>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1CD0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD10D0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E370>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1FD0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1CD0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C05D0; to 'InterfaceClass' at 0169E370 (ITypeCheck)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E370>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E370>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E370>
Test whether a specification is or extends another

 
class ITypeCoercion(Interface)
    Convert/coerce a value to instance of type
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.ITypeCoercion'
__iro__ = (<InterfaceClass basictypes.interfaces.ITypeCoercion at 169e230>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23635168>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1E10>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'coerce': <zope.interface.interface.Method object at 0x0169E310>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Convert/coerce a value to instance of type', '__identifier__': 'basictypes.interfaces.ITypeCoercion', '__iro__': (<InterfaceClass basictypes.interfaces.ITypeCoercion at 169e230>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'ITypeCoercion', '_implied': {<InterfaceClass basictypes.interfaces.ITypeCoercion at 169e230>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.ITypeCoercion at 169e230>', ...}
__getattribute__ = <method-wrapper object at 0x01AD12B0>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1E10>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E230>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1470>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD12B0>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0570; to 'InterfaceClass' at 0169E230 (ITypeCoercion)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E230>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E230>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E230>
Test whether a specification is or extends another

 
class ITypeFactories(Interface)
    Interface providing factory instances for a given type
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.ITypeFactories'
__iro__ = (<InterfaceClass basictypes.interfaces.ITypeFactories at 169e410>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23636448>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD11F0>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'factories': <zope.interface.interface.Method object at 0x0169E3F0>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Interface providing factory instances for a given type', '__identifier__': 'basictypes.interfaces.ITypeFactories', '__iro__': (<InterfaceClass basictypes.interfaces.ITypeFactories at 169e410>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'ITypeFactories', '_implied': {<InterfaceClass basictypes.interfaces.ITypeFactories at 169e410>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.ITypeFactories at 169e410>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1A70>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD11F0>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E410>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1CD0>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1A70>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0630; to 'InterfaceClass' at 0169E410 (ITypeFactories)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E410>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E410>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E410>
Test whether a specification is or extends another

 
class ITypeProperties(Interface)
    Allows retrieval of property-set for a type
 
  Data and other attributes defined here:
__bases__ = (<InterfaceClass zope.interface.Interface at 16958f0>,)
__identifier__ = 'basictypes.interfaces.ITypeProperties'
__iro__ = (<InterfaceClass basictypes.interfaces.ITypeProperties at 169e570>, <InterfaceClass zope.interface.Interface at 16958f0>)
dependents = <WeakKeyDictionary at 23636608>

Methods inherited from <Interface>:
__contains__(self, name) from InterfaceClass
__getitem__ = getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
__gt__(self, other) from InterfaceClass
__init__(self, name, bases=(), attrs=None, __doc__=None, __module__=None) from InterfaceClass
__iter__(self) from InterfaceClass
__lt__(self, other) from InterfaceClass
__reduce__(self) from InterfaceClass
__repr__(self) from InterfaceClass
changed(self) from InterfaceClass
We, or something we depend on, have changed
deferred(self) from InterfaceClass
Return a defered class corresponding to the interface.
extends(self, interface, strict=True) from InterfaceClass
Does the specification extend the given interface?
 
Test whether an interface in the specification extends the
given interface
 
Examples::
 
  >>> from zope.interface import Interface
  >>> from zope.interface.declarations import Declaration
  >>> class I1(Interface): pass
  ...
  >>> class I2(I1): pass
  ...
  >>> class I3(Interface): pass
  ...
  >>> class I4(I3): pass
  ...
  >>> spec = Declaration()
  >>> int(spec.extends(Interface))
  0
  >>> spec = Declaration(I2)
  >>> int(spec.extends(Interface))
  1
  >>> int(spec.extends(I1))
  1
  >>> int(spec.extends(I2))
  1
  >>> int(spec.extends(I3))
  0
  >>> int(spec.extends(I4))
  0
  >>> I2.extends(I2)
  0
  >>> I2.extends(I2, False)
  1
  >>> I2.extends(I2, strict=False)
  1
get = queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
getBases(self) from InterfaceClass
getDescriptionFor(self, name) from InterfaceClass
Return the attribute description for the given name.
getDoc(self) from InterfaceClass
Returns the documentation for the object.
getName(self) from InterfaceClass
Returns the name of the object.
getTaggedValue(self, tag) from InterfaceClass
Returns the value associated with 'tag'.
getTaggedValueTags(self) from InterfaceClass
Returns a list of all tags.
interfaces(self) from InterfaceClass
Return an iterator for the interfaces in the specification
 
for example::
 
  >>> from zope.interface import Interface
  >>> class I1(Interface): pass
  ...
  >>> 
  >>> i = I1.interfaces()
  >>> i.next().getName()
  'I1'
  >>> list(i)
  []
isEqualOrExtendedBy(self, other) from InterfaceClass
Same interface or extends?
names(self, all=False) from InterfaceClass
Return the attribute names defined by the interface.
namesAndDescriptions(self, all=False) from InterfaceClass
Return attribute names and descriptions defined by interface.
queryDescriptionFor(self, name, default=None) from InterfaceClass
Return the attribute description for the given name.
setTaggedValue(self, tag, value) from InterfaceClass
Associates 'value' with 'key'.
subscribe(self, dependent) from InterfaceClass
unsubscribe(self, dependent) from InterfaceClass
weakref(self, callback=None) from InterfaceClass

Data and other attributes inherited from <Interface>:
__class__ = <class 'zope.interface.interface.InterfaceClass'>
Prototype (scarecrow) Interfaces Implementation.
__delattr__ = <method-wrapper object at 0x01AD1770>
x.__delattr__('name') <==> del x.name
__dict__ = {'_Element__tagged_values': {}, '_InterfaceClass__attrs': {'getProperties': <zope.interface.interface.Method object at 0x0169E610>}, '__bases__': (<InterfaceClass zope.interface.Interface at 16958f0>,), '__doc__': 'Allows retrieval of property-set for a type', '__identifier__': 'basictypes.interfaces.ITypeProperties', '__iro__': (<InterfaceClass basictypes.interfaces.ITypeProperties at 169e570>, <InterfaceClass zope.interface.Interface at 16958f0>), '__module__': 'basictypes.interfaces', '__name__': 'ITypeProperties', '_implied': {<InterfaceClass basictypes.interfaces.ITypeProperties at 169e570>: (), <InterfaceClass zope.interface.Interface at 16958f0>: ()}, '_v_repr': '<InterfaceClass basictypes.interfaces.ITypeProperties at 169e570>', ...}
__getattribute__ = <method-wrapper object at 0x01AD1450>
x.__getattribute__('name') <==> x.name
__hash__ = <method-wrapper object at 0x01AD1770>
x.__hash__() <==> hash(x)
__implements__ = <implementedBy zope.interface.interface.InterfaceClass>
__new__ = <built-in method __new__ of type object at 0x01E23110>
T.__new__(S, ...) -> a new object with type S, a subtype of T
__providedBy__ = <implementedBy zope.interface.interface.InterfaceClass>
__provides__ = <implementedBy zope.interface.interface.InterfaceClass>
__reduce_ex__ = <built-in method __reduce_ex__ of InterfaceClass object at 0x0169E570>
helper for pickle
__setattr__ = <method-wrapper object at 0x01AD1470>
x.__setattr__('name', value) <==> x.name = value
__str__ = <method-wrapper object at 0x01AD1450>
x.__str__() <==> str(x)
__weakref__ = <weakref at 016C0750; to 'InterfaceClass' at 0169E570 (ITypeProperties)>
isImplementedBy = <built-in method isImplementedBy of InterfaceClass object at 0x0169E570>
Test whether an interface is implemented by the specification
isImplementedByInstancesOf = <built-in method isImplementedByInstancesOf of InterfaceClass object at 0x0169E570>
Test whether the specification is implemented by instances of a class
isOrExtends = <built-in method isOrExtends of InterfaceClass object at 0x0169E570>
Test whether a specification is or extends another