BiFunction which when given the control and its current value
computes the validation result
| Modifier and Type | Method and Description |
|---|---|
| public static <T> Validator | |
| public static <T> Validator | Returns: new validatortext of a message to be created if value is invalid message, final Severity severity of a message to be created if value is invalid severity)Factory method to create a validator, which checks if value exists. |
| public static <T> Validator | Returns: new validatorof a error to be created if value is invalid message)Factory method to create a validator, which checks if value exists. |
| public static <T> Validator | Returns: new validatorseverity of a message to be created if value is found severity, final Collection<T> text of a message to be created if value is not found values)Factory method to create a validator, which if value exists in the provided collection. |
| public static <T> Validator | Returns: new validatortext of a error to be created if value is not found message, final Collection<T> values)Factory method to create a validator, which checks if value exists in the provided collection. |
| public static <T> Validator | Returns: new validatorthe predicate to be used for the value validity evaluation. predicate, String text of a message to be created if value is invalid message)Factory method to create a validator, which evaluates the value validity with a given predicate. |
| public static <T> Validator | Returns: new validatorthe predicate to be used for the value validity evaluation. predicate, String text of a message to be created if value is invalid message, Severity severity of a message to be created if value is invalid severity)Factory method to create a validator, which evaluates the value validity with a given predicate. |
| public static Validator | Returns: new validatortext of a message to be created if value is invalid message, final String the regular expression the value has to match regex, final Severity severity of a message to be created if value is invalid severity)Factory method to create a validator, which checks the value against a given regular expression. |
| public static Validator | Returns: new validatortext of a message to be created if value is invalid message, final Pattern the regular expression the value has to match regex, final Severity severity of a message to be created if value is invalid severity)Factory method to create a validator, which checks the value against a given regular expression. |
| combine | back to summary |
|---|---|
| public static <T> Validator Combines the given validators into a single Validator instance. | |
| createEmptyValidator | back to summary |
|---|---|
| public static <T> Validator Factory method to create a validator, which checks if value exists. | |
| createEmptyValidator | back to summary |
|---|---|
| public static <T> Validator Factory method to create a validator, which checks if value exists. Error is created if not if value does not exist | |
| createEqualsValidator | back to summary |
|---|---|
| public static <T> Validator Factory method to create a validator, which if value exists in the provided collection.
| |
| createEqualsValidator | back to summary |
|---|---|
| public static <T> Validator Factory method to create a validator, which checks if value exists in the provided collection. Error is created if not found | |
| createPredicateValidator | back to summary |
|---|---|
| public static <T> Validator Factory method to create a validator, which evaluates the value validity with a given predicate.
Error is created if the evaluation is | |
| createPredicateValidator | back to summary |
|---|---|
| public static <T> Validator Factory method to create a validator, which evaluates the value validity with a given predicate.
Error is created if the evaluation is | |
| createRegexValidator | back to summary |
|---|---|
| public static Validator Factory method to create a validator, which checks the value against a given regular expression.
Error is created if the value is | |
| createRegexValidator | back to summary |
|---|---|
| public static Validator Factory method to create a validator, which checks the value against a given regular expression.
Error is created if the value is | |