public class ValidatorBinding extends AbstractBinding
IBinding
that provides IValidator
instances based on a validator bean descriptor. The descriptor is of the form
"type[,properties]". The types are values such as "string", "date" or "number" defined in the
tapestry.valid.Validators configuration point. The properties are a properties initialization
string.PropertyUtils.configureProperties(java.lang.Object,
java.lang.String)
Constructor and Description |
---|
ValidatorBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IValidator validator) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getObject()
Returns the value of this binding.
|
createReadOnlyBindingException, extendDescription, getComponent, getDescription, getLocation, getObject, getValueConverter, isInvariant, setObject, toString
public ValidatorBinding(java.lang.String description, ValueConverter valueConverter, org.apache.hivemind.Location location, IValidator validator)