org.springframework.validation.Validator interface.
| Modifier and Type | Field and Description |
|---|---|
| private MessageInterpolator | |
| private TraversableResolver | |
| private ValidatorFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterPropertiesSet()
Implements org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set. |
| public void | setMessageInterpolator(MessageInterpolator messageInterpolator)
Specify a custom MessageInterpolator to use for this Validator. |
| public void | setTraversableResolver(TraversableResolver traversableResolver)
Specify a custom TraversableResolver to use for this Validator. |
| public void | setValidatorFactory(ValidatorFactory validatorFactory)
Set the ValidatorFactory to obtain the target Validator from. |
| messageInterpolator | back to summary |
|---|---|
| private MessageInterpolator messageInterpolator
| |
| traversableResolver | back to summary |
|---|---|
| private TraversableResolver traversableResolver
| |
| validatorFactory | back to summary |
|---|---|
| private ValidatorFactory validatorFactory
| |
| CustomValidatorBean | back to summary |
|---|---|
| public CustomValidatorBean() | |
| afterPropertiesSet | back to summary |
|---|---|
| public void afterPropertiesSet() Implements org. Doc from org. Invoked by the containing This method allows the bean instance to perform validation of its overall configuration and final initialization when all bean properties have been set.
| |
| setMessageInterpolator | back to summary |
|---|---|
| public void setMessageInterpolator(MessageInterpolator messageInterpolator) Specify a custom MessageInterpolator to use for this Validator. | |
| setTraversableResolver | back to summary |
|---|---|
| public void setTraversableResolver(TraversableResolver traversableResolver) Specify a custom TraversableResolver to use for this Validator. | |
| setValidatorFactory | back to summary |
|---|---|
| public void setValidatorFactory(ValidatorFactory validatorFactory) Set the ValidatorFactory to obtain the target Validator from. Default is | |