org.hibernate.validator.internal.engine
Class StandardValidationContext<T>
java.lang.Object
org.hibernate.validator.internal.engine.ValidationContext<T,ConstraintViolation<T>>
org.hibernate.validator.internal.engine.StandardValidationContext<T>
- Type Parameters:
T - The type of the root bean for which this context is created.
public class StandardValidationContext<T>
- extends ValidationContext<T,ConstraintViolation<T>>
A ValidationContext implementation which creates and manages violations of type ConstraintViolation.
- Author:
- Gunnar Morling
| Methods inherited from class org.hibernate.validator.internal.engine.ValidationContext |
addConstraintFailures, createConstraintViolations, getConstraintValidatorFactory, getContextForValidate, getContextForValidateParameter, getContextForValidateParameters, getContextForValidateProperty, getContextForValidateValue, getFailingConstraints, getRootBean, getRootBeanClass, getTraversableResolver, isAlreadyValidated, isFailFastModeEnabled, markProcessed |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardValidationContext
protected StandardValidationContext(Class<T> rootBeanClass,
T rootBean,
MessageInterpolator messageInterpolator,
ConstraintValidatorFactory constraintValidatorFactory,
TraversableResolver traversableResolver,
boolean failFast)
createConstraintViolation
public <U,V> ConstraintViolation<T> createConstraintViolation(ValueContext<U,V> localContext,
MessageAndPath messageAndPath,
ConstraintDescriptor<?> descriptor)
- Specified by:
createConstraintViolation in class ValidationContext<T,ConstraintViolation<T>>
Copyright © 2007-2012 Red Hat Middleware, LLC. All Rights Reserved