| Package | Description |
|---|---|
| cdc.util.validation |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ValidatorImpl<T> |
| Modifier and Type | Method | Description |
|---|---|---|
default <S> Validator<S> |
Validator.after(Converter<S,? extends T> converter) |
Creates a validator composed of this one applied after a converter.
|
default <S> Validator<S> |
Validator.after(java.util.function.Function<S,? extends T> function,
java.lang.Class<S> sourceClass) |
Creates a validator composed of this one applied after a conversion function.
|
default Validator<?> |
Validator.afterRaw(Converter<?,?> converter) |
|
static Validator<? super java.lang.String> |
Validators.getStringValidator(java.lang.String name) |
|
static Validator<? super java.lang.String> |
Validators.getStringValidator(java.lang.String name,
cdc.util.lang.FailureReaction reaction) |
|
static <T> Validator<? super T> |
Validators.getValidator(java.lang.Class<T> valueClass,
java.lang.String name) |
Returns the validator that has a name and a value type.
|
static <T> Validator<? super T> |
Validators.getValidator(java.lang.Class<T> valueClass,
java.lang.String name,
cdc.util.lang.FailureReaction reaction) |
Returns the validator that has a name and a value type.
|
static Validator<?> |
Validators.getValidator(java.lang.String name) |
Returns the validator that has a name.
|
static Validator<?> |
Validators.getValidator(java.lang.String name,
cdc.util.lang.FailureReaction reaction) |
Returns the validator that has a name.
|
Validator<?> |
ValidatorsIo.Loader.loadValidator(cdc.util.data.Element element) |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
Validators.register(Validator<?> validator,
java.lang.String name) |
Register a validator with a name.
|
Copyright © 2019. All rights reserved.