| Package | Description | 
|---|---|
| org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change | 
| org.apache.tapestry5.modules | |
| org.apache.tapestry5.test | Support for testing Tapestry pages | 
| org.apache.tapestry5.validator | Validators for use by Tapestry (and custom) form field components. | 
| Constructor and Description | 
|---|
| FieldValidatorImpl(Field field,
                  Object constraintValue,
                  MessageFormatter messageFormatter,
                  Validator validator,
                  FormSupport formSupport) | 
| Constructor and Description | 
|---|
| FieldValidatorSourceImpl(Messages globalMessages,
                        TypeCoercer typeCoercer,
                        FormSupport formSupport,
                        Map<String,Validator> validators,
                        ValidatorMacro validatorMacro) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | TapestryModule. setupCoreFrameworkValidators(MappedConfiguration<String,Validator> configuration)Contributes the basic set of validators:
 
 required
 minlength
 maxlength
 min
 max
 regexp
 email
 none
  | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Validator | TapestryTestCase. mockValidator() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected <C,T> void | TapestryTestCase. train_getConstraintType(Validator<C,T> validator,
                       Class<C> constraintType) | 
| protected void | TapestryTestCase. train_getMessageKey(Validator validator,
                   String messageKey) | 
| protected void | TapestryTestCase. train_getValueType(Validator validator,
                  Class valueType) | 
| protected void | TapestryTestCase. train_isRequired(Validator validator,
                boolean isRequired) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractValidator<C,T>Base class for constructing a  Validator. | 
| class  | CheckedA validator that enforces that the value is true. | 
| class  | EmailA validator that checks if a given string is well-formed email address. | 
| class  | MaxEnforces a maximum integer value. | 
| class  | MaxLengthValidates that a string value has not exceeded a maximum length. | 
| class  | Min | 
| class  | MinLengthValidates that a string value has a minimum length. | 
| class  | NoneThe none validator is does nothing on either the client or the server; primarily it is employed
 as the validate parameter, to override the validation specified in the  Validateannotation of a property. | 
| class  | RegexpEnforces that the input matches a provided regular expression. | 
| class  | RequiredA validator that enforces that the value is not null and not the empty string. | 
| class  | UncheckedA validator that enforces that the value is false. | 
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.