net.wotonomy.foundation
Class NSKeyValueCoding.Utility

java.lang.Object
  extended by net.wotonomy.foundation.NSKeyValueCoding.Utility
Enclosing interface:
NSKeyValueCoding

public static class NSKeyValueCoding.Utility
extends java.lang.Object

Static utility methods that call the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.


Constructor Summary
NSKeyValueCoding.Utility()
           
 
Method Summary
static java.lang.Object handleQueryWithUnboundKey(java.lang.Object anObject, java.lang.String aKey)
          Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.
static void handleTakeValueForUnboundKey(java.lang.Object anObject, java.lang.Object aValue, java.lang.String aKey)
          Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.
static java.lang.Object storedValueForKey(java.lang.Object anObject, java.lang.String aKey)
          Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.
static void takeStoredValueForKey(java.lang.Object anObject, java.lang.Object aValue, java.lang.String aKey)
          Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.
static void takeValueForKey(java.lang.Object anObject, java.lang.Object aValue, java.lang.String aKey)
          Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.
static void unableToSetNullForKey(java.lang.Object anObject, java.lang.String aKey)
          Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.
static java.lang.Object valueForKey(java.lang.Object anObject, java.lang.String aKey)
          Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSKeyValueCoding.Utility

public NSKeyValueCoding.Utility()
Method Detail

valueForKey

public static java.lang.Object valueForKey(java.lang.Object anObject,
                                           java.lang.String aKey)
Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.


takeValueForKey

public static void takeValueForKey(java.lang.Object anObject,
                                   java.lang.Object aValue,
                                   java.lang.String aKey)
Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.


storedValueForKey

public static java.lang.Object storedValueForKey(java.lang.Object anObject,
                                                 java.lang.String aKey)
Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.


takeStoredValueForKey

public static void takeStoredValueForKey(java.lang.Object anObject,
                                         java.lang.Object aValue,
                                         java.lang.String aKey)
Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.


handleQueryWithUnboundKey

public static java.lang.Object handleQueryWithUnboundKey(java.lang.Object anObject,
                                                         java.lang.String aKey)
Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.


handleTakeValueForUnboundKey

public static void handleTakeValueForUnboundKey(java.lang.Object anObject,
                                                java.lang.Object aValue,
                                                java.lang.String aKey)
Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.


unableToSetNullForKey

public static void unableToSetNullForKey(java.lang.Object anObject,
                                         java.lang.String aKey)
Calls the appropriate method if the object implements NSKeyValueCoding, otherwise calls the method on DefaultImplementation.



Copyright © 2006 null. All Rights Reserved.