Documentation Archive Developer
Search
PATH Documentation > WebObjects

Table of Contents

NSValidation.Utility


Inherits from:
Object
Package:
com.webobjects.foundation


Class Description


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




Static Methods



validateTakeValueForKeyPath

public static Object validateTakeValueForKeyPath( Object anObject, Object value, String keyPath) throws NSValidation.ValidationException

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

validateValueForKey

public static Object validateValueForKey( Object anObject, Object value, String key) throws NSValidation.ValidationException

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

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


Table of Contents