Package Modeling :: Package interfaces :: Module KeyValueCoding
[show private | hide private]
[frames | no frames]

Module Modeling.interfaces.KeyValueCoding

KeyValueCoding API

CVS information

$Id: KeyValueCoding.py,v 1.5 2004/07/20 06:21:41 sbigaret Exp $

Classes
Base  
KeyValueCodingInterface Mix-in class providing a common API to access or assign values to object's properties.

Function Summary
  takeValueForKeyPath(object, value, keypath)
order: setKey(), _setKey(), key, _key Might be overriden to perform additional transformations before returning the object If, during traversal of keypath, a sequence is met, the method raises 'ValueError'.
  valueForKeyPath(object, keypath)
order: setKey(), _setKey(), key, _key Might be overriden to perform additional transformations before returning the object If parameter 'object' is a list or a tuple (either at the first call or during the traversal of the keypath), 'valueForKeyPath' is applied to each item of the list.

Function Details

takeValueForKeyPath(object, value, keypath)

order: setKey(), _setKey(), key, _key Might be overriden to perform additional transformations before returning the object If, during traversal of keypath, a sequence is met, the method raises 'ValueError'.

valueForKeyPath(object, keypath)

order: setKey(), _setKey(), key, _key Might be overriden to perform additional transformations before returning the object If parameter 'object' is a list or a tuple (either at the first call or during the traversal of the keypath), 'valueForKeyPath' is applied to each item of the list.

Generated by Epydoc 2.1 on Sat Mar 4 13:36:24 2006 http://epydoc.sf.net