org.apache.tapestry.valid
Class ValidatorBinding
java.lang.Object
org.apache.tapestry.binding.AbstractBinding
org.apache.tapestry.valid.ValidatorBinding
- All Implemented Interfaces:
- org.apache.hivemind.Locatable, IBinding
public class ValidatorBinding
- extends AbstractBinding
Implementation of 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.
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
- See Also:
PropertyUtils.configureProperties(java.lang.Object,
java.lang.String)
ValidatorBinding
public ValidatorBinding(String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IValidator validator)
getObject
public Object getObject()
- Description copied from interface:
IBinding
- Returns the value of this binding. This is the essential method.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.