Documentation Archive Developer
Search
PATH Documentation > WebObjects

Table of Contents

NSKeyValueCodingAdditions.Utility


Inherits from:
Object
Package:
com.webobjects.foundation


Class Description


The NSKeyValueCodingAdditions.Utility class is a convenience that allows you to access the properties of NSKeyValueCodingAdditions objects and non-NSKeyValueCodingAdditions objects using the same code. For more information, see the NSKeyValueCodingAdditions interface specification.




Static Methods



takeValueForKeyPath

public static void takeValueForKeyPath( Object anObject, Object value, String keyPath)

If anObject is an NSKeyValueCodingAdditions, invokes takeValueForKeyPath on anObject; otherwise invokes NSKeyValueCodingAdditions. DefaultImplementation's takeValueForKeyPath method with anObject as the object on which to operate.

valueForKeyPath

public static Object valueForKeyPath( Object anObject, String keyPath)

If anObject is an NSKeyValueCodingAdditions, invokes valueForKeyPath on anObject; otherwise invokes NSKeyValueCodingAdditions. DefaultImplementation's valueForKeyPath method with anObject as the object on which to operate.

© 2001 Apple Computer, Inc. (Last Published April 17, 2001)


Table of Contents