- Inherits from:
- Object
- Package:
- com.webobjects.foundation
Class Description
The NSKeyValueCoding.Utility class is a convenience that allows you to access the properties of NSKeyValueCoding objects and non-NSKeyValueCoding objects using the same code. For more information, see the NSKeyValueCoding and interface specification.
Static Methods
public static Object handleQueryWithUnboundKey( Object anObject, String key)
If anObject is an NSKeyValueCoding.ErrorHandling, invokes handleQueryWithUnboundKey on anObject; otherwise invokes NSKeyValueCoding. DefaultImplementation's handleQueryWithUnboundKey method with anObject as the object on which to operate.
public static void handleTakeValueForUnboundKey( Object anObject, Object value, String key)
If anObject is an NSKeyValueCoding.ErrorHandling, invokes handleTakeValueForUnboundKey on anObject; otherwise invokes NSKeyValueCoding. DefaultImplementation's handleTakeValueForUnboundKey method with anObject as the object on which to operate.
public static void takeValueForKey( Object anObject, Object value, String key)
If anObject is an NSKeyValueCoding, invokes takeValueForKey on anObject; otherwise invokes NSKeyValueCoding. DefaultImplementation's takeValueForKey method with anObject as the object on which to operate.
public static void unableToSetNullForKey( Object anObject, String key)
If anObject is an NSKeyValueCoding.ErrorHandling, invokes unableToSetNullForKey on anObject; otherwise invokes NSKeyValueCoding. DefaultImplementation's unableToSetNullForKey method with anObject as the object on which to operate.
public static Object valueForKey( Object anObject, String key)
If anObject is an NSKeyValueCoding, invokes valueForKey on anObject; otherwise invokes NSKeyValueCoding. DefaultImplementation's valueForKey method with anObject as the object on which to operate.
© 2001 Apple Computer, Inc. (Last Published April 17, 2001)