| Modifier and Type | Method and Description |
|---|---|
static StringValidator |
create(ValidatorConfiguration configuration)
Constructs a new
StringValidator. |
ValidationResult |
validate(Object value)
Validates the given value and returns a
ValidationResult describing the result of the validation. |
public static StringValidator create(ValidatorConfiguration configuration)
StringValidator.configuration - the validator configurationpublic ValidationResult validate(Object value)
ValidationResult describing the result of the validation.Copyright © 2014. All rights reserved.