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)
Method Summary |
java.lang.Object |
getObject()
Returns the value of this binding. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ValidatorBinding
public ValidatorBinding(java.lang.String description,
ValueConverter valueConverter,
org.apache.hivemind.Location location,
IValidator validator)
getObject
public java.lang.Object getObject()
- Description copied from interface:
IBinding
- Returns the value of this binding. This is the essential method.