|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry5.internal.beaneditor.MessagesConstraintGenerator
public class MessagesConstraintGenerator
Generates constraints from the containing component's property file. Looks for a key in the form: propertyId-validate.
| Constructor Summary | |
|---|---|
MessagesConstraintGenerator(Environment environment)
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
buildConstraints(java.lang.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 MessagesConstraintGenerator(Environment environment)
| Method Detail |
|---|
public java.util.List<java.lang.String> buildConstraints(java.lang.Class propertyType,
AnnotationProvider annotationProvider)
ValidationConstraintGeneratorvalidate specification. These will ultimately be used to create FieldValidators for the field
that edits the property.
buildConstraints in interface ValidationConstraintGeneratorpropertyType - 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 | |||||||||