Validator instances.
Implementations are thread-safe and instances are typically cached and reused.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public ClockProvider | Returns: ClockProvider instanceReturns the |
| public ConstraintValidatorFactory | Returns: ConstraintValidatorFactory instanceReturns the |
| public MessageInterpolator | Returns: MessageInterpolator instanceReturns the |
| public ParameterNameProvider | Returns: ParameterNameProvider instanceReturns the |
| public TraversableResolver | Returns: TraversableResolver instanceReturns the |
| public Validator | Returns: an initializedValidator instanceReturns an initialized |
| public < the type of the object to be returned T> T | |
| public ValidatorContext | Returns: aValidatorContext instanceDefines a new validator context and returns a |
| close | back to summary |
|---|---|
| public void close() Redeclares java. Closes the
| |
| getClockProvider | back to summary |
|---|---|
| public ClockProvider getClockProvider() Returns the
| |
| getConstraintValidatorFactory | back to summary |
|---|---|
| public ConstraintValidatorFactory getConstraintValidatorFactory() Returns the
| |
| getMessageInterpolator | back to summary |
|---|---|
| public MessageInterpolator getMessageInterpolator() Returns the
| |
| getParameterNameProvider | back to summary |
|---|---|
| public ParameterNameProvider getParameterNameProvider() Returns the
| |
| getTraversableResolver | back to summary |
|---|---|
| public TraversableResolver getTraversableResolver() Returns the
| |
| getValidator | back to summary |
|---|---|
| public Validator getValidator() Returns an initialized Validator instances can be pooled and shared by the implementation.
| |
| unwrap | back to summary |
|---|---|
| public <T> T unwrap(Class<T> type) Returns an instance of the specified type allowing access to
provider-specific APIs. If the Jakarta Validation provider
implementation does not support the specified class, a
| |
| usingContext | back to summary |
|---|---|
| public ValidatorContext usingContext() Defines a new validator context and returns a
| |