PATH Documentation > WebObjects

Table of Contents

NSValidation.DefaultImplementation


Inherits from:
Object
Package:
com.webobjects.foundation


Class Description


The NSValidation.DefaultImplementation class provides default implementations of the NSValidation interface. For more information, see the NSValidation interface specification.




Static Methods



validateTakeValueForKeyPath

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

Confirms that value is legal for the receiver's property named by keyPath, and assigns the value to the property if it's legal (and if value is different from the current value), or throws an NSValidation.ValidationException if value isn't legal.

See Also: validateTakeValueForKeyPath ( NSValidation)



validateValueForKey

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

Confirms that value is legal for the receiver's property named by key, and returns the validated value if it's legal, or throws an NSValidation.ValidationException if it isn't.

See Also: validateValueForKey ( NSValidation)



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


Table of Contents