A WidgetDefinition holds all the static information about a Widget. It's
function is a lot like that of the class in Java. Users of the Cocoon Forms framework
usually won't have to bother with the WidgetDefinition's, but will rather use
the Widget's themselves.
version: $Id: WidgetDefinition.java 449149 2006-09-23 03:58:05Z crossley $
Method Summary
void
checkCompleteness() Checks whether this definition is complete since we are allowed to have partial
definitions in libraries.
Checks whether this definition is complete since we are allowed to have partial
definitions in libraries. Definitions need to be complete _before_ a call to
createInstance() though.
Gets an attribute that has been defined on the widget's definition.
Parameters: name - the attribute name the attribute value, or null if it doesn't exist
Validate a widget using the validators that were defined in its definition. If validation
fails, the validator has set a validation error on the widget or one of its children.
Parameters: widget - the widget true if validation was successful.