Uses of Interface
org.apache.tapestry5.Validator
Packages that use Validator
Package
Description
[INTERNAL USE ONLY] internal service classes; API subject to change
Support for testing Tapestry pages
Validators for use by Tapestry (and custom) form field components.
-
Uses of Validator in org.apache.tapestry5.internal.services
Constructors in org.apache.tapestry5.internal.services with parameters of type ValidatorModifierConstructorDescriptionFieldValidatorImpl(Field field, Object constraintValue, MessageFormatter messageFormatter, Validator validator, FormSupport formSupport) Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type ValidatorModifierConstructorDescriptionFieldValidatorSourceImpl(Messages globalMessages, TypeCoercer typeCoercer, FormSupport formSupport, Map<String, Validator> validators, ValidatorMacro validatorMacro) -
Uses of Validator in org.apache.tapestry5.modules
Method parameters in org.apache.tapestry5.modules with type arguments of type ValidatorModifier and TypeMethodDescriptionstatic voidTapestryModule.setupCoreFrameworkValidators(MappedConfiguration<String, Validator> configuration) Contributes the basic set of validators: required minlength maxlength min max regexp email none -
Uses of Validator in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return ValidatorMethods in org.apache.tapestry5.test with parameters of type ValidatorModifier and TypeMethodDescriptionprotected <C,T> void TapestryTestCase.train_getConstraintType(Validator<C, T> validator, Class<C> constraintType) protected voidTapestryTestCase.train_getMessageKey(Validator validator, String messageKey) protected final voidTapestryTestCase.train_getValueType(Validator validator, Class valueType) protected final voidTapestryTestCase.train_isRequired(Validator validator, boolean isRequired) -
Uses of Validator in org.apache.tapestry5.validator
Classes in org.apache.tapestry5.validator that implement ValidatorModifier and TypeClassDescriptionclassAbstractValidator<C,T> Base class for constructing aValidator.final classA validator that enforces that the value is true.classA validator that checks if a given string is well-formed email address.classEnforces a maximum integer value.final classValidates that a string value has not exceeded a maximum length.classfinal classValidates that a string value has a minimum length.classThe 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 theValidateannotation of a property.classEnforces that the input matches a provided regular expression.final classA validator that enforces that the value is not null and not the empty string.final classA validator that enforces that the value is false.