public class ValidatorFactoryImpl extends Object implements HibernateValidatorFactory
Validator
instances. This is Hibernate Validator default
implementation of the ValidatorFactory
interface.Constructor and Description |
---|
ValidatorFactoryImpl(ConfigurationState configurationState) |
Modifier and Type | Method and Description |
---|---|
ConstraintValidatorFactory |
getConstraintValidatorFactory() |
MessageInterpolator |
getMessageInterpolator() |
TraversableResolver |
getTraversableResolver() |
Validator |
getValidator() |
<T> T |
unwrap(Class<T> type) |
HibernateValidatorContext |
usingContext()
Returns a context for validator configuration via options from the
Bean Validation API as well as specific ones from Hibernate Validator.
|
public ValidatorFactoryImpl(ConfigurationState configurationState)
public Validator getValidator()
getValidator
in interface ValidatorFactory
public MessageInterpolator getMessageInterpolator()
getMessageInterpolator
in interface ValidatorFactory
public TraversableResolver getTraversableResolver()
getTraversableResolver
in interface ValidatorFactory
public ConstraintValidatorFactory getConstraintValidatorFactory()
getConstraintValidatorFactory
in interface ValidatorFactory
public <T> T unwrap(Class<T> type)
unwrap
in interface ValidatorFactory
public HibernateValidatorContext usingContext()
HibernateValidatorFactory
usingContext
in interface ValidatorFactory
usingContext
in interface HibernateValidatorFactory
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved