public final class CompoundValidator<VALIDATION_INPUT_TYPE> extends java.lang.Object implements IValidator<VALIDATION_INPUT_TYPE>, java.io.Serializable
Constructor and Description |
---|
CompoundValidator() |
CompoundValidator(IValidator<VALIDATION_INPUT_TYPE>... validators) |
Modifier and Type | Method and Description |
---|---|
void |
addValidator(IValidator<VALIDATION_INPUT_TYPE> validator) |
void |
removeValidator(IValidator<VALIDATION_INPUT_TYPE> validator) |
IValidationResult |
validate(VALIDATION_INPUT_TYPE validationInput)
Do the validation for a given value
|
public CompoundValidator()
public CompoundValidator(IValidator<VALIDATION_INPUT_TYPE>... validators)
public IValidationResult validate(VALIDATION_INPUT_TYPE validationInput)
IValidator
validate
in interface IValidator<VALIDATION_INPUT_TYPE>
validationInput
- The value to validate, may be nullpublic void addValidator(IValidator<VALIDATION_INPUT_TYPE> validator)
public void removeValidator(IValidator<VALIDATION_INPUT_TYPE> validator)
Siehe auch Jowidgets Nutzerhandbuch