|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Validator | |
|---|---|
| org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change |
| org.apache.tapestry5.services | Core services |
| org.apache.tapestry5.test | Support for testing Tapestry pages |
| org.apache.tapestry5.validator | 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 Validator | |
|---|---|
FieldValidatorImpl(Field field,
Object constraintValue,
MessageFormatter messageFormatter,
Validator validator,
FormSupport formSupport)
|
|
| Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type Validator | |
|---|---|
FieldValidatorSourceImpl(Messages globalMessages,
TypeCoercer typeCoercer,
FormSupport formSupport,
Map<String,Validator> validators,
ValidatorMacro validatorMacro)
|
|
| Uses of Validator in org.apache.tapestry5.services |
|---|
| Method parameters in org.apache.tapestry5.services with type arguments of type Validator | |
|---|---|
static void |
TapestryModule.contributeFieldValidatorSource(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 Validator | |
|---|---|
protected Validator |
TapestryTestCase.mockValidator()
|
| Methods in org.apache.tapestry5.test with parameters of type Validator | ||
|---|---|---|
protected
|
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)
|
|
| Uses of Validator in org.apache.tapestry5.validator |
|---|
| Classes in org.apache.tapestry5.validator that implement Validator | |
|---|---|
class |
AbstractValidator<C,T>
Base class for constructing a Validator. |
class |
Email
A validator that checks if a given string is well-formed email address. |
class |
Max
Enforces a maximum integer value. |
class |
MaxLength
|
class |
Min
|
class |
MinLength
Validates that a string value has a minimum length. |
class |
None
|
class |
Regexp
|
class |
Required
A validator that enforces that the value is not null and not the empty string. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||