Package | Description |
---|---|
org.foxlabs.validation |
Modifier and Type | Method and Description |
---|---|
Validator.ContextBuilder |
Validator.newContext()
Creates a new context builder.
|
Validator.ContextBuilder |
Validator.newContext(ValidationContext<?> parent)
Creates a new context builder for cascade validation.
|
Validator.ContextBuilder |
Validator.ContextBuilder.setFailFast(boolean fail)
Sets flag that determines if validation should fail on the first
violation.
|
Validator.ContextBuilder |
Validator.ContextBuilder.setLocalizedConvert(boolean localized)
Sets flag that determines if converters should take locale into
account.
|
Validator.ContextBuilder |
Validator.ContextBuilder.setMessageLocale(Locale locale)
Sets locale to be used for error messages and formatting numbers,
dates, etc.
|
Validator.ContextBuilder |
Validator.ContextBuilder.setPropertyFilter(PropertyFilter filter)
Sets filter to be used for property filtering.
|
Validator.ContextBuilder |
Validator.ContextBuilder.setValidatingGroups(String... groups)
Sets array of constraint groups to be validated.
|
Constructor and Description |
---|
Context(Validator.ContextBuilder builder)
Constructs a new
Context using parameters from the
specified context builder. |
Copyright © 2011–2020 FoxLabs. All rights reserved.