Package | Description |
---|---|
org.hibernate.validator |
Bootstrap classes HibernateValidator and
HibernateValidatorConfiguration which uniquely identify Hibernate
Validator and allow to configure it.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-303.
|
Modifier and Type | Method and Description |
---|---|
HibernateValidatorConfiguration |
HibernateValidatorConfiguration.addConstraintDefinitionContributor(ConstraintDefinitionContributor contributor)
Registers the given
ConstraintDefinitionContributor with the bootstrapped validator factory. |
HibernateValidatorConfiguration |
HibernateValidatorConfiguration.addMapping(ConstraintMapping mapping)
Adds the specified
ConstraintMapping instance to the configuration. |
HibernateValidatorConfiguration |
HibernateValidatorConfiguration.addValidatedValueHandler(ValidatedValueUnwrapper<?> handler)
Registers the given validated value unwrapper with the bootstrapped validator factory.
|
HibernateValidatorConfiguration |
HibernateValidator.createSpecializedConfiguration(BootstrapState state) |
HibernateValidatorConfiguration |
HibernateValidatorConfiguration.externalClassLoader(ClassLoader externalClassLoader)
Sets the class loader to be used for loading user-provided resources:
XML descriptors (
META-INF/validation.xml as well as XML constraint mappings)
classes specified by name in XML descriptors (e.g. |
HibernateValidatorConfiguration |
HibernateValidatorConfiguration.failFast(boolean failFast)
En- or disables the fail fast mode.
|
HibernateValidatorConfiguration |
HibernateValidatorConfiguration.timeProvider(TimeProvider timeProvider)
Registers the given time provider with the bootstrapped validator factory.
|
Modifier and Type | Class and Description |
---|---|
class |
ConfigurationImpl
Hibernate specific
Configuration implementation. |
Copyright © 2007-2017 Red Hat, Inc. All Rights Reserved