abstractpublic class TypedUpdater implements Updater(Code)
Abstracts common features for strongly typed Updater's.
Strongly type Updater's perform conversions based on this
the expected type before the bean update is invoked.
since: 0.7 author: Jakarta Commons Team, Apache Software Foundation
Gets the type expected.
The value passed into
TypedUpdater.update will be converted on the basis of this type
before being passed to
TypedUpdater.executeUpdate .
Class giving expected type, not null
Strategy method to allow derivations to handle exceptions differently.
Parameters: context - the Context being updated when this exception occured Parameters: e - the Exception that occured during the update
Sets the type expected.
The value passed into
TypedUpdater.update will be converted on the basis of this type
before being passed to
TypedUpdater.executeUpdate .
Parameters: valueType - Class giving expected type, not null
Updates the current bean context with the given String value
Parameters: context - the Context to be updated Parameters: newValue - the update to this new value