net.wotonomy.foundation
Class NSKeyValueCodingAdditions.Utility

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

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

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


Constructor Summary
NSKeyValueCodingAdditions.Utility()
           
 
Method Summary
static void takeValueForKeyPath(java.lang.Object object, java.lang.Object aValue, java.lang.String aKeyPath)
          Calls the appropriate method if the object implements NSKeyValueCodingAdditions, otherwise calls the method on DefaultImplementation.
static void takeValuesFromDictionary(java.lang.Object object, java.util.Map dictionary)
          Calls the appropriate method if the object implements NSKeyValueCodingAdditions, otherwise calls the method on DefaultImplementation.
static java.lang.Object valueForKeyPath(java.lang.Object object, java.lang.String aKeyPath)
          Calls the appropriate method if the object implements NSKeyValueCodingAdditions, otherwise calls the method on DefaultImplementation.
static NSDictionary valuesForKeys(java.lang.Object object, java.util.List keys)
          Calls the appropriate method if the object implements NSKeyValueCodingAdditions, 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

NSKeyValueCodingAdditions.Utility

public NSKeyValueCodingAdditions.Utility()
Method Detail

takeValuesFromDictionary

public static void takeValuesFromDictionary(java.lang.Object object,
                                            java.util.Map dictionary)
Calls the appropriate method if the object implements NSKeyValueCodingAdditions, otherwise calls the method on DefaultImplementation.


takeValueForKeyPath

public static void takeValueForKeyPath(java.lang.Object object,
                                       java.lang.Object aValue,
                                       java.lang.String aKeyPath)
Calls the appropriate method if the object implements NSKeyValueCodingAdditions, otherwise calls the method on DefaultImplementation.


valuesForKeys

public static NSDictionary valuesForKeys(java.lang.Object object,
                                         java.util.List keys)
Calls the appropriate method if the object implements NSKeyValueCodingAdditions, otherwise calls the method on DefaultImplementation.


valueForKeyPath

public static java.lang.Object valueForKeyPath(java.lang.Object object,
                                               java.lang.String aKeyPath)
Calls the appropriate method if the object implements NSKeyValueCodingAdditions, otherwise calls the method on DefaultImplementation.



Copyright © 2006 null. All Rights Reserved.