Package | Description |
---|---|
org.hibernate.validator |
Bootstrap classes HibernateValidator and
HibernateValidatorConfiguration which uniquely identify Hibernate
Validator and allow to configure it.
|
org.hibernate.validator.cfg |
Entry point for the programmatic constraint definition API.
|
org.hibernate.validator.internal.cfg.context |
Creational context implementations of the API for programmatic
constraint definition.
|
org.hibernate.validator.internal.engine |
Implementations for the core interfaces of JSR-303.
|
org.hibernate.validator.internal.metadata.provider |
Abstraction of the meta data sources - annotation, xml, programmatic
|
Modifier and Type | Method and Description |
---|---|
ConstraintMapping |
HibernateValidatorConfiguration.createConstraintMapping()
Creates a new constraint mapping which can be used to programmatically configure the constraints for given types.
|
Modifier and Type | Method and Description |
---|---|
HibernateValidatorConfiguration |
HibernateValidatorConfiguration.addMapping(ConstraintMapping mapping)
Adds the specified
ConstraintMapping instance to the configuration. |
Constructor and Description |
---|
ConstraintMapping(ConstraintMapping original)
Deprecated.
This class will be converted into an interface in a future
release. Use
HibernateValidatorConfiguration.createConstraintMapping()
instead to create new constraint mappings. |
Modifier and Type | Method and Description |
---|---|
static ConstraintMappingContext |
ConstraintMappingContext.getFromMapping(ConstraintMapping mapping)
Returns the constraint mapping context from the given constraint mapping.
|
Modifier and Type | Method and Description |
---|---|
ConstraintMapping |
ConfigurationImpl.createConstraintMapping() |
Modifier and Type | Method and Description |
---|---|
Set<ConstraintMapping> |
ConfigurationImpl.getProgrammaticMappings() |
Modifier and Type | Method and Description |
---|---|
HibernateValidatorConfiguration |
ConfigurationImpl.addMapping(ConstraintMapping mapping) |
Constructor and Description |
---|
ProgrammaticMetaDataProvider(ConstraintHelper constraintHelper,
Set<ConstraintMapping> programmaticMappings) |
Copyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved