@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 FieldValidator
s 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.