Uses of Interface
org.apache.tapestry5.services.ValidationConstraintGenerator
Packages that use ValidationConstraintGenerator
Package
Description
[INTERNAL USE ONLY] support classes for the
BeanEditor
component; API subject to change[INTERNAL USE ONLY] internal service classes; API subject to change
Support for testing Tapestry pages
-
Uses of ValidationConstraintGenerator in org.apache.tapestry5.internal.beaneditor
Classes in org.apache.tapestry5.internal.beaneditor that implement ValidationConstraintGeneratorModifier and TypeClassDescriptionclass
Generates constraints from the containing component's property file.class
Adds a "required" constraint for any property of whose type is a primitive (not a wrapper or reference) type.class
Checks for theValidate
annotation, and extracts its value to form the result. -
Uses of ValidationConstraintGenerator in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement ValidationConstraintGeneratorConstructors in org.apache.tapestry5.internal.services with parameters of type ValidationConstraintGeneratorModifierConstructorDescriptionFieldValidatorDefaultSourceImpl
(ValidationConstraintGenerator validationConstraintGenerator, FieldValidatorSource fieldValidatorSource) Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type ValidationConstraintGeneratorModifierConstructorDescriptionValidationConstraintGeneratorImpl
(List<ValidationConstraintGenerator> configuration) -
Uses of ValidationConstraintGenerator in org.apache.tapestry5.modules
Method parameters in org.apache.tapestry5.modules with type arguments of type ValidationConstraintGeneratorModifier and TypeMethodDescriptionstatic void
TapestryModule.contributeValidationConstraintGenerator
(OrderedConfiguration<ValidationConstraintGenerator> configuration) Adds built-in constraint generators: PrimtiveField -- primitive fields are always required ValidateAnnotation -- adds constraints from aValidate
annotation -
Uses of ValidationConstraintGenerator in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return ValidationConstraintGeneratorModifier and TypeMethodDescriptionprotected final ValidationConstraintGenerator
TapestryTestCase.mockValidationConstraintGenerator()
Methods in org.apache.tapestry5.test with parameters of type ValidationConstraintGeneratorModifier and TypeMethodDescriptionprotected final void
TapestryTestCase.train_buildConstraints
(ValidationConstraintGenerator generator, Class propertyType, AnnotationProvider provider, String... constraints)