|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.services.ValidationConstraintGeneratorImpl
public class ValidationConstraintGeneratorImpl
Constructor Summary | |
---|---|
ValidationConstraintGeneratorImpl(List<ValidationConstraintGenerator> configuration)
|
Method Summary | |
---|---|
List<String> |
buildConstraints(Class propertyType,
AnnotationProvider annotationProvider)
For a given property, identify all the approprite validation constraints. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationConstraintGeneratorImpl(List<ValidationConstraintGenerator> configuration)
Method Detail |
---|
public List<String> buildConstraints(Class propertyType, AnnotationProvider annotationProvider)
ValidationConstraintGenerator
validate specification
. These will ultimately be used to create FieldValidator
s for the field
that edits the property.
buildConstraints
in interface ValidationConstraintGenerator
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |