Project Wonder 5.0

er.extensions.foundation
Class ERXSelectorUtilities

java.lang.Object
  extended by er.extensions.foundation.ERXSelectorUtilities

public class ERXSelectorUtilities
extends java.lang.Object

NSSelector utilities. These exist mostly to allow selector invocation without explicitly catching the non-runtime exceptions that can be thrown by NSSelector.invoke().


Constructor Summary
ERXSelectorUtilities()
           
 
Method Summary
static java.lang.Object invoke(com.webobjects.foundation.NSSelector sel, java.lang.Object o)
          Just like the NSSelector method of the same name, except only runtime exceptions are thrown.
static java.lang.Object invoke(com.webobjects.foundation.NSSelector sel, java.lang.Object o, java.lang.Object argument1)
          Just like the NSSelector method of the same name, except only runtime exceptions are thrown.
static java.lang.Object invoke(com.webobjects.foundation.NSSelector sel, java.lang.Object o, java.lang.Object[] params)
          Just like the NSSelector method of the same name, except only NSForwardExceptions are thrown.
static java.lang.Object invoke(com.webobjects.foundation.NSSelector sel, java.lang.Object o, java.lang.Object argument1, java.lang.Object argument2)
          Just like the NSSelector method of the same name, except only runtime exceptions are thrown.
static com.webobjects.foundation.NSSelector notificationSelector(java.lang.String methodName)
          Utility that returns a selector you can use with the NSNotificationCenter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERXSelectorUtilities

public ERXSelectorUtilities()
Method Detail

invoke

public static java.lang.Object invoke(com.webobjects.foundation.NSSelector sel,
                                      java.lang.Object o,
                                      java.lang.Object[] params)
Just like the NSSelector method of the same name, except only NSForwardExceptions are thrown.

See Also:
NSSelector.invoke(Object, Object[])

invoke

public static java.lang.Object invoke(com.webobjects.foundation.NSSelector sel,
                                      java.lang.Object o)
Just like the NSSelector method of the same name, except only runtime exceptions are thrown.

See Also:
NSSelector.invoke(Object)

invoke

public static java.lang.Object invoke(com.webobjects.foundation.NSSelector sel,
                                      java.lang.Object o,
                                      java.lang.Object argument1)
Just like the NSSelector method of the same name, except only runtime exceptions are thrown.

See Also:
NSSelector.invoke(Object, Object)

invoke

public static java.lang.Object invoke(com.webobjects.foundation.NSSelector sel,
                                      java.lang.Object o,
                                      java.lang.Object argument1,
                                      java.lang.Object argument2)
Just like the NSSelector method of the same name, except only runtime exceptions are thrown.

See Also:
NSSelector.invoke(Object, Object, Object)

notificationSelector

public static com.webobjects.foundation.NSSelector notificationSelector(java.lang.String methodName)
Utility that returns a selector you can use with the NSNotificationCenter.

Parameters:
methodName -

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.