|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
The NSKeyValueCodingAdditions.Utility class is a convenience
that allows one to access the properties of NSKeyValueCodingAdditions
objects and non-NSKeyValueCodingAdditions
objects using the
same code.
NSKeyValueCodingAdditions
,
NSKeyValueCodingAdditions.DefaultImplementation
Method Summary | |
static void |
takeValueForKeyPath(Object object,
Object value,
String keyPath)
If object is an NSKeyValueCodingAdditions, invokes
takeValueForKeyPath on object ; otherwise invokes
NSKeyValueCodingAdditions.DefaultImplementation's takeValueForKeyPath
method with object as the object on which to operate. |
static Object |
valueForKeyPath(Object object,
String keyPath)
If object is an NSKeyValueCodingAdditions, invokes
valueForKeyPath on object ; otherwise invokes
NSKeyValueCodingAdditions.DefaultImplementation's valueForKeyPath
method with object as the object on which to operate. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void takeValueForKeyPath(Object object, Object value, String keyPath)
object
is an NSKeyValueCodingAdditions, invokes
takeValueForKeyPath
on object
; otherwise invokes
NSKeyValueCodingAdditions.DefaultImplementation's takeValueForKeyPath
method with object
as the object on which to operate.
object
- the object on which to operatevalue
- object's property identified by keypath is set to thiskeyPath
- identifies the property of an objectNSKeyValueCodingAdditions.takeValueForKeyPath(java.lang.Object, java.lang.String)
,
NSKeyValueCodingAdditions.DefaultImplementation
public static Object valueForKeyPath(Object object, String keyPath)
object
is an NSKeyValueCodingAdditions, invokes
valueForKeyPath
on object
; otherwise invokes
NSKeyValueCodingAdditions.DefaultImplementation's valueForKeyPath
method with object
as the object on which to operate.
object
- the object on which to operatekeyPath
- identifies the property of an object
keyPath
NSKeyValueCodingAdditions.valueForKeyPath(java.lang.String)
,
NSKeyValueCodingAdditions.DefaultImplementation
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |