@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 |
|---|---|
List<String> |
buildConstraints(Class<?> propertyType,
AnnotationProvider annotationProvider)
For a given property, identify all the approprite validation constraints.
|
List<String> buildConstraints(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)FieldValidatorSource5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.