| Package | Description |
|---|---|
| org.hibernate.validator.engine |
Implementations for the core interfaces of JSR-303.
|
| org.hibernate.validator.method |
This package provides support for method-level constraints based
on JSR 303: Bean
Validation, Appendix C ("Proposal for method-level validation").
|
| Modifier and Type | Class and Description |
|---|---|
class |
MethodConstraintViolationImpl<T> |
| Modifier and Type | Method and Description |
|---|---|
<U,V> MethodConstraintViolation<T> |
MethodValidationContext.createConstraintViolation(ValueContext<U,V> localContext,
MessageAndPath messageAndPath,
ConstraintDescriptor<?> descriptor) |
| Modifier and Type | Method and Description |
|---|---|
<T> Set<MethodConstraintViolation<T>> |
ValidatorImpl.validateAllParameters(T object,
Method method,
Object[] parameterValues,
Class<?>... groups) |
<T> Set<MethodConstraintViolation<T>> |
ValidatorImpl.validateParameter(T object,
Method method,
Object parameterValue,
int parameterIndex,
Class<?>... groups) |
<T> Set<MethodConstraintViolation<T>> |
ValidatorImpl.validateReturnValue(T object,
Method method,
Object returnValue,
Class<?>... groups) |
| Modifier and Type | Method and Description |
|---|---|
Set<MethodConstraintViolation<?>> |
MethodConstraintViolationException.getConstraintViolations()
Set of constraint violations reported during a validation
|
<T> Set<MethodConstraintViolation<T>> |
MethodValidator.validateAllParameters(T object,
Method method,
Object[] parameterValues,
Class<?>... groups)
Validates all parameters of a given method.
|
<T> Set<MethodConstraintViolation<T>> |
MethodValidator.validateParameter(T object,
Method method,
Object parameterValue,
int parameterIndex,
Class<?>... groups)
Validates a given parameter of a given method.
|
<T> Set<MethodConstraintViolation<T>> |
MethodValidator.validateReturnValue(T object,
Method method,
Object returnValue,
Class<?>... groups)
Validates the return value of a given method.
|
| Constructor and Description |
|---|
MethodConstraintViolationException(Set<? extends MethodConstraintViolation<?>> constraintViolations)
Creates a new new
MethodConstraintViolationException. |
MethodConstraintViolationException(String message,
Set<? extends MethodConstraintViolation<?>> constraintViolations)
Creates a new new
MethodConstraintViolationException. |
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.