Top Description Methods
org.hibernate.validator.internal.metadata.provider

public Interface MetaDataProvider

Known Direct Implementers
org.hibernate.validator.internal.metadata.provider.ProgrammaticMetaDataProvider, org.hibernate.validator.internal.metadata.provider.XmlMetaDataProvider, org.hibernate.validator.internal.metadata.provider.AnnotationMetaDataProvider
Imports
org.hibernate.validator.internal.metadata.core.AnnotationProcessingOptions, org.hibernate.validator.internal.metadata.raw.BeanConfiguration

A provider for constraint related meta data such as constraints, default group sequences etc.

Implementations are based one different meta data sources such as XML, programmatic mappings and annotations. Meta data providers only return meta data directly configured for one class, they don't deal with merging meta data from super-classes or implemented interfaces.

Authors
Gunnar Morling, Hardy Ferentschik

Method Summary

Modifier and TypeMethod and Description
public AnnotationProcessingOptions

Returns:

The annotation processing options as configured by this provider.
getAnnotationProcessingOptions
()

Returns the annotation processing options as configured by this provider.

public <T> BeanConfiguration<? super T>
getBeanConfiguration(Class<T> beanClass)

Returns a bean configuration for the given type or null if this provider has no meta-data on the given type.

Method Detail

getAnnotationProcessingOptionsback to summary
public AnnotationProcessingOptions getAnnotationProcessingOptions()

Returns the annotation processing options as configured by this provider.

Returns:AnnotationProcessingOptions

The annotation processing options as configured by this provider.

getBeanConfigurationback to summary
public <T> BeanConfiguration<? super T> getBeanConfiguration(Class<T> beanClass)

Returns a bean configuration for the given type or null if this provider has no meta-data on the given type.