Package pyxmpp :: Module objects :: Class CachedPropertyObject
[show private | hide private]
[frames | no frames]

Type CachedPropertyObject

object --+
         |
        CachedPropertyObject

Known Subclasses:
DiscoIdentity, DiscoInfo, DiscoItem, DiscoItems

Base class for many PyXMPP objects which provides cached attribute access to many object's properites.

For unknown attribute read access get_<attribute> method will be called. On write access to an attribute set_<attribute> method will be called if defined in the object's class.


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