@UsesOrderedConfiguration(value=ValidationConstraintGenerator.class) public interface ValidationConstraintGenerator
FieldValidatorSource.createValidator(org.apache.tapestry5.Field, String, String, String,
org.apache.tapestry5.ioc.Messages, java.util.Locale).| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
buildConstraints(java.lang.Class<?> propertyType,
AnnotationProvider annotationProvider)
For a given property, identify all the approprite validation constraints.
|
java.util.List<java.lang.String> buildConstraints(java.lang.Class<?> propertyType, AnnotationProvider annotationProvider)
validate specification. These will ultimately be used to create FieldValidators for the field
that edits the property.propertyType - the type of the property for which constraints are neededannotationProvider - provides access to any annotations concerning the property (for implementations that
are based on analysis of property annotations)FieldValidatorSource${project.version} - Copyright © 2003-2015 The Apache Software Foundation.