Package | Description |
---|---|
org.hibernate.validator.internal.cfg |
Implementation parts of the API for programmatic constraint definition.
|
org.hibernate.validator.internal.cfg.context |
Creational context implementations of the API for programmatic
constraint definition.
|
org.hibernate.validator.internal.metadata |
Implementations of the Bean Validation metadata interfaces as well as Hibernate Validator specific meta data classes.
|
org.hibernate.validator.internal.metadata.aggregated |
The classes in this package contain the aggregated meta data needed for an actual validation.
|
org.hibernate.validator.internal.metadata.descriptor |
Implementation of the Bean Validation meta data API.
|
org.hibernate.validator.internal.metadata.provider |
Abstraction of the meta data sources - annotation, xml, programmatic
|
org.hibernate.validator.internal.xml |
Classes for parsing of Bean Validation XML configuration files.
|
Modifier and Type | Method and Description |
---|---|
Set<BeanConfiguration<?>> |
DefaultConstraintMapping.getBeanConfigurations(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider)
Returns all bean configurations configured through this constraint mapping.
|
Modifier and Type | Method and Description |
---|---|
ConstrainedElement |
PropertyConstraintMappingContextImpl.build(ConstraintHelper constraintHelper) |
BeanConfiguration<C> |
TypeConstraintMappingContextImpl.build(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider) |
ConstrainedElement |
ExecutableConstraintMappingContextImpl.build(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider) |
ConstrainedParameter |
ParameterConstraintMappingContextImpl.build(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider) |
protected Set<MetaConstraint<?>> |
ConstraintMappingContextImplBase.getConstraints(ConstraintHelper constraintHelper)
Converts all constraints managed by this creational context into
MetaConstraint s. |
Constructor and Description |
---|
BeanMetaDataManager(ConstraintHelper constraintHelper)
Creates a new
BeanMetaDataManager . |
BeanMetaDataManager(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
List<MetaDataProvider> optionalMetaDataProviders)
Creates a new
BeanMetaDataManager . |
Modifier and Type | Field and Description |
---|---|
protected ConstraintHelper |
MetaDataBuilder.constraintHelper |
Modifier and Type | Method and Description |
---|---|
static <T> BeanMetaDataImpl.BeanMetaDataBuilder<T> |
BeanMetaDataImpl.BeanMetaDataBuilder.getInstance(ConstraintHelper constraintHelper,
Class<T> beanClass) |
Constructor and Description |
---|
BeanMetaDataImpl.BeanMetaDataBuilder(ConstraintHelper constraintHelper,
Class<T> beanClass) |
ExecutableMetaData.Builder(Class<?> beanClass,
ConstrainedExecutable constrainedExecutable,
ConstraintHelper constraintHelper)
Creates a new builder based on the given executable meta data.
|
MetaDataBuilder(Class<?> beanClass,
ConstraintHelper constraintHelper) |
ParameterMetaData.Builder(Class<?> beanClass,
ConstrainedParameter constrainedParameter,
ConstraintHelper constraintHelper) |
PropertyMetaData.Builder(Class<?> beanClass,
ConstrainedExecutable constrainedMethod,
ConstraintHelper constraintHelper) |
PropertyMetaData.Builder(Class<?> beanClass,
ConstrainedField constrainedField,
ConstraintHelper constraintHelper) |
PropertyMetaData.Builder(Class<?> beanClass,
ConstrainedType constrainedType,
ConstraintHelper constraintHelper) |
Constructor and Description |
---|
ConstraintDescriptorImpl(ConstraintHelper constraintHelper,
Member member,
T annotation,
ElementType type) |
ConstraintDescriptorImpl(ConstraintHelper constraintHelper,
Member member,
T annotation,
ElementType type,
Class<?> implicitGroup,
ConstraintOrigin definedOn,
ConstraintDescriptorImpl.ConstraintType externalConstraintType) |
ConstraintDescriptorImpl(ConstraintHelper constraintHelper,
Member member,
T annotation,
ElementType type,
ConstraintDescriptorImpl.ConstraintType constraintType) |
Modifier and Type | Field and Description |
---|---|
protected ConstraintHelper |
MetaDataProviderKeyedByClassName.constraintHelper |
Constructor and Description |
---|
AnnotationMetaDataProvider(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
AnnotationProcessingOptions annotationProcessingOptions) |
MetaDataProviderKeyedByClassName(ConstraintHelper constraintHelper) |
ProgrammaticMetaDataProvider(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
Set<DefaultConstraintMapping> constraintMappings) |
XmlMetaDataProvider(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
Set<InputStream> mappingStreams) |
Modifier and Type | Method and Description |
---|---|
static Set<ConstrainedField> |
ConstrainedFieldBuilder.buildConstrainedFields(List<FieldType> fields,
Class<?> beanClass,
String defaultPackage,
ConstraintHelper constraintHelper,
AnnotationProcessingOptionsImpl annotationProcessingOptions) |
static Set<ConstrainedExecutable> |
ConstrainedGetterBuilder.buildConstrainedGetters(List<GetterType> getterList,
Class<?> beanClass,
String defaultPackage,
ConstraintHelper constraintHelper,
AnnotationProcessingOptionsImpl annotationProcessingOptions) |
static List<ConstrainedParameter> |
ConstrainedParameterBuilder.buildConstrainedParameters(List<ParameterType> parameterList,
ExecutableElement executableElement,
String defaultPackage,
ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider,
AnnotationProcessingOptionsImpl annotationProcessingOptions) |
static ConstrainedType |
ConstrainedTypeBuilder.buildConstrainedType(ClassType classType,
Class<?> beanClass,
String defaultPackage,
ConstraintHelper constraintHelper,
AnnotationProcessingOptionsImpl annotationProcessingOptions,
Map<Class<?>,List<Class<?>>> defaultSequences) |
static Set<ConstrainedExecutable> |
ConstrainedExecutableBuilder.buildConstructorConstrainedExecutable(List<ConstructorType> constructors,
Class<?> beanClass,
String defaultPackage,
ParameterNameProvider parameterNameProvider,
ConstraintHelper constraintHelper,
AnnotationProcessingOptionsImpl annotationProcessingOptions) |
static <A extends Annotation> |
MetaConstraintBuilder.buildMetaConstraint(ConstraintLocation constraintLocation,
ConstraintType constraint,
ElementType type,
String defaultPackage,
ConstraintHelper constraintHelper,
ConstraintDescriptorImpl.ConstraintType constraintType) |
static Set<ConstrainedExecutable> |
ConstrainedExecutableBuilder.buildMethodConstrainedExecutable(List<MethodType> methods,
Class<?> beanClass,
String defaultPackage,
ParameterNameProvider parameterNameProvider,
ConstraintHelper constraintHelper,
AnnotationProcessingOptionsImpl annotationProcessingOptions) |
Constructor and Description |
---|
XmlMappingParser(ConstraintHelper constraintHelper,
ParameterNameProvider parameterNameProvider) |
Copyright © 2007-2013 Red Hat, Inc. All Rights Reserved