A B C D E F G H I J M N O P R S T U V

A

addError(String) - Method in interface javax.validation.ConstraintValidatorContext
Add a new error message.
addError(String, String) - Method in interface javax.validation.ConstraintValidatorContext
Add a new error message to a given sub property property.
addMapping(InputStream) - Method in interface javax.validation.Configuration
Add a stream describing constraint mapping in the Bean Validation XML format.
addProperty(String, String) - Method in interface javax.validation.Configuration
Add a provider specific property.
AssertFalse - Annotation Type in javax.validation.constraints
The annotated element must be false.
AssertFalse.List - Annotation Type in javax.validation.constraints
Defines several @AssertFalse annotations on the same element
AssertTrue - Annotation Type in javax.validation.constraints
The annotated element must be true.
AssertTrue.List - Annotation Type in javax.validation.constraints
Defines several @AssertTrue annotations on the same element

B

BeanDescriptor - Interface in javax.validation
Describe a constrained Java Bean and the constraints associated to it.
BootstrapState - Interface in javax.validation.spi
Defines the state used to bootstrap the Configuration
buildDefaultValidatorFactory() - Static method in class javax.validation.Validation
Build and return a ValidatorFactory instance based on the default Bean Validation provider and following the XML configuration.
buildValidatorFactory() - Method in interface javax.validation.Configuration
Build a ValidatorFactory implementation.
buildValidatorFactory(ConfigurationState) - Method in interface javax.validation.spi.ValidationProvider
Build a ValidatorFactory using the current provider implementation.
byDefaultProvider() - Static method in class javax.validation.Validation
Build a Configuration.
byProvider(Class<T>) - Static method in class javax.validation.Validation
Build a Configuration for a particular provider implementation.

C

Configuration<T extends Configuration<T>> - Interface in javax.validation
Receives configuration information, selects the appropriate Bean Validation provider and builds the appropriate ValidatorFactory.
ConfigurationState - Interface in javax.validation.spi
Contract between a Configuration and a ValidatorProvider to create a ValidatorFactory.
configure() - Method in interface javax.validation.bootstrap.GenericBootstrap
Returns a generic Configuration implementation.
configure() - Method in interface javax.validation.bootstrap.ProviderSpecificBootstrap
Determine the provider implementation suitable for T and delegate the creation of this specific Configuration subclass to the provider.
Constraint - Annotation Type in javax.validation
Link between a constraint annotation and its constraint validation implementations.
ConstraintDeclarationException - Exception in javax.validation
Exception raised if a constraint declaration is not legal
ConstraintDeclarationException(String) - Constructor for exception javax.validation.ConstraintDeclarationException
 
ConstraintDeclarationException() - Constructor for exception javax.validation.ConstraintDeclarationException
 
ConstraintDeclarationException(String, Throwable) - Constructor for exception javax.validation.ConstraintDeclarationException
 
ConstraintDeclarationException(Throwable) - Constructor for exception javax.validation.ConstraintDeclarationException
 
ConstraintDefinitionException - Exception in javax.validation
Exception raised if a constraint definition is not legal
ConstraintDefinitionException(String) - Constructor for exception javax.validation.ConstraintDefinitionException
 
ConstraintDefinitionException() - Constructor for exception javax.validation.ConstraintDefinitionException
 
ConstraintDefinitionException(String, Throwable) - Constructor for exception javax.validation.ConstraintDefinitionException
 
ConstraintDefinitionException(Throwable) - Constructor for exception javax.validation.ConstraintDefinitionException
 
ConstraintDescriptor<T extends java.lang.annotation.Annotation> - Interface in javax.validation
Describes a single constraint and its composing constraints.
ConstraintValidator<A extends java.lang.annotation.Annotation,T> - Interface in javax.validation
Defines the logic to validate a given constraint A for a given object type T.
ConstraintValidatorContext - Interface in javax.validation
Provide contextual data and operation when applying a given constraint validator
constraintValidatorFactory(ConstraintValidatorFactory) - Method in interface javax.validation.Configuration
Defines the constraint validator factory.
ConstraintValidatorFactory - Interface in javax.validation
Instantiate a ConstraintValidator instance from its class.
ConstraintViolation<T> - Interface in javax.validation
Describe a constraint violation.
ConstraintViolationException - Exception in javax.validation
Report the result of constraint violations
ConstraintViolationException(String, Set<ConstraintViolation>) - Constructor for exception javax.validation.ConstraintViolationException
Creates a constraint violation report
ConstraintViolationException(Set<ConstraintViolation>) - Constructor for exception javax.validation.ConstraintViolationException
Creates a constraint violation report
createGenericConfiguration(BootstrapState) - Method in interface javax.validation.spi.ValidationProvider
Returns a Configuration instance.
createSpecializedConfiguration(BootstrapState, Class<T>) - Method in interface javax.validation.spi.ValidationProvider
Returns a Configuration instance implementing the configurationClass interface.

D

DecimalMax - Annotation Type in javax.validation.constraints
The annotated element must be a number whose value must be lower or equal to the specified maximum.
DecimalMax.List - Annotation Type in javax.validation.constraints
Defines several @DecimalMax annotations on the same element
DecimalMin - Annotation Type in javax.validation.constraints
The annotated element must be a number whose value must be higher or equal to the specificed minimum.
DecimalMin.List - Annotation Type in javax.validation.constraints
Defines several @DecimalMin annotations on the same element
Default - Interface in javax.validation.groups
Default Bean Validation group
Digits - Annotation Type in javax.validation.constraints
The annotated element must be a number within accepted range Supported types are: BigDecimal BigInteger String byte, short, int, long, and their respective wrapper types

null elements are considered valid

Digits.List - Annotation Type in javax.validation.constraints
Defines several @Digits annotations on the same element
disableDefaultError() - Method in interface javax.validation.ConstraintValidatorContext
Disable the default error message and default ConstraintViolation object generation.

E

ElementDescriptor - Interface in javax.validation
Describes a validated element (class, field or property).

F

Future - Annotation Type in javax.validation.constraints
The annotated element must be a date in the future.
Future.List - Annotation Type in javax.validation.constraints
Defines several @Future annotations on the same element

G

GenericBootstrap - Interface in javax.validation.bootstrap
Defines the state used to bootstrap Bean Validation and creates a provider agnostic Configuration.
getAnnotation() - Method in interface javax.validation.ConstraintDescriptor
Returns the annotation describing the constraint declaration.
getAttributes() - Method in interface javax.validation.ConstraintDescriptor
Returns a map containing the annotation attribute names as keys and the annotation attribute values as value.
getComposingConstraints() - Method in interface javax.validation.ConstraintDescriptor
Return a set of composing ConstraintDescriptors where each descriptor describes a composing constraint.
getConstrainedProperties() - Method in interface javax.validation.BeanDescriptor
 
getConstraintDescriptor() - Method in interface javax.validation.ConstraintViolation
Constraint metadata reported to fail.
getConstraintDescriptor() - Method in interface javax.validation.MessageInterpolator.Context
 
getConstraintDescriptors() - Method in interface javax.validation.ElementDescriptor
Return all constraint descriptors for this element or an empty Set if none are present.
getConstraintsForClass(Class<?>) - Method in interface javax.validation.Validator
Return the descriptor object describing bean constraints The returned object (and associated objects including ConstraintDescriptors) are immutable.
getConstraintsForProperty(String) - Method in interface javax.validation.BeanDescriptor
Return the property descriptor for a given property.
getConstraintValidatorClasses() - Method in interface javax.validation.ConstraintDescriptor
Immutable list of the constraint validation implementation classes.
getConstraintValidatorFactory() - Method in interface javax.validation.spi.ConfigurationState
ConstraintValidatorFactory implementation as defined in the following decreasing priority: - set via the Configuration programmatic API - defined in META-INF/validation.xml provided that ignoredXmlConfiguration is false.
getConstraintViolations() - Method in exception javax.validation.ConstraintViolationException
Set of constraint violations reported during a validation
getDefaultErrorMessage() - Method in interface javax.validation.ConstraintValidatorContext
 
getDefaultMessageInterpolator() - Method in interface javax.validation.Configuration
Return an implementation of the MessageInterpolator interface following the default MessageInterpolator defined in the specification: - use the ValidationMessages resource bundle to load keys - use Locale.getDefault()
getDefaultValidationProviderResolver() - Method in interface javax.validation.spi.BootstrapState
Specification default ValidationProviderResolver strategy instance
getGroups() - Method in interface javax.validation.ConstraintDescriptor
The Set of groups the constraint is applied on.
getInstance(Class<T>) - Method in interface javax.validation.ConstraintValidatorFactory
 
getInvalidValue() - Method in interface javax.validation.ConstraintViolation
 
getLeafBean() - Method in interface javax.validation.ConstraintViolation
If a bean constraint, the bean instance the constraint is applied on If a property constraint, the bean instance hosting the property the constraint is applied on
getMappingStreams() - Method in interface javax.validation.spi.ConfigurationState
Returns a set of stream corresponding to: - mapping XML streams passed programmatically in Configuration - mapping XML stream located in the resources defined in META-INF/validation.xml (constraint-mapping element) Streams represented in the XML configuration and opened by the configuration implementation must be closed by the configuration implementation after the ValidatorFactory creation (or if an exception occurs).
getMessage() - Method in interface javax.validation.ConstraintViolation
 
getMessageInterpolator() - Method in interface javax.validation.spi.ConfigurationState
Message interpolator as defined in the following decreasing priority: - set via the Configuration programmatic API - defined in META-INF/validation.xml provided that ignoredXmlConfiguration is false.
getMessageInterpolator() - Method in interface javax.validation.ValidatorFactory
Returns the MessageInterpolator instance configured at initialization time for the ValidatorFactory.
getMessageTemplate() - Method in interface javax.validation.ConstraintViolation
 
getProperties() - Method in interface javax.validation.spi.ConfigurationState
return non type-safe properties defined via: - Configuration.addProperty(String, String) - META-INF/validation.xml provided that ignoredXmlConfiguration is false.
getPropertyName() - Method in interface javax.validation.PropertyDescriptor
Name of the property acording to the Java Bean specification.
getPropertyPath() - Method in interface javax.validation.ConstraintViolation
 
getRootBean() - Method in interface javax.validation.ConstraintViolation
 
getRootBeanClass() - Method in interface javax.validation.ConstraintViolation
 
getTraversableResolver() - Method in interface javax.validation.spi.ConfigurationState
TraversableResolver as defined in the following decreasing priority: - set via the Configuration programmatic API - defined in META-INF/validation.xml provided that ignoredXmlConfiguration is false.
getType() - Method in interface javax.validation.ElementDescriptor
 
getValidatedValue() - Method in interface javax.validation.MessageInterpolator.Context
 
getValidationProviderResolver() - Method in interface javax.validation.spi.BootstrapState
User defined ValidationProviderResolver strategy instance or null if undefined.
getValidationProviders() - Method in interface javax.validation.ValidationProviderResolver
Returns a list of ValidationProviders available in the runtime environment.
getValidator() - Method in interface javax.validation.ValidatorContext
 
getValidator() - Method in interface javax.validation.ValidatorFactory
 
GroupDefinitionException - Exception in javax.validation
Exception raised if a group definition is not legal
GroupDefinitionException(String) - Constructor for exception javax.validation.GroupDefinitionException
 
GroupDefinitionException() - Constructor for exception javax.validation.GroupDefinitionException
 
GroupDefinitionException(String, Throwable) - Constructor for exception javax.validation.GroupDefinitionException
 
GroupDefinitionException(Throwable) - Constructor for exception javax.validation.GroupDefinitionException
 
GroupSequence - Annotation Type in javax.validation
Define a group sequence The interface hosting @GroupSequence is representing the group sequence.

H

hasConstraints() - Method in interface javax.validation.ElementDescriptor
 

I

ignoreXmlConfiguration() - Method in interface javax.validation.Configuration
Ignore data from the META-INF/validation.xml file if this method is called.
initialize(A) - Method in interface javax.validation.ConstraintValidator
Initialize the validator in preparation for isValid calls.
interpolate(String, MessageInterpolator.Context) - Method in interface javax.validation.MessageInterpolator
Interpolate the message from the constraint parameters and the actual validated object.
interpolate(String, MessageInterpolator.Context, Locale) - Method in interface javax.validation.MessageInterpolator
Interpolate the message from the constraint parameters and the actual validated object.
isBeanConstrained() - Method in interface javax.validation.BeanDescriptor
Returns true if the bean involves validation: a constraint is hosted on the bean itself a constraint is hosted on one of the bean properties or a bean property is marked for cascade (@Valid)
isCascaded() - Method in interface javax.validation.PropertyDescriptor
Is the property marked by the @Valid annotation.
isIgnoreXmlConfiguration() - Method in interface javax.validation.spi.ConfigurationState
returns true if Configuration.ignoreXMLConfiguration() has been called In this case, the ValidatorFactory must ignore META-INF/validation.xml
isReportAsSingleViolation() - Method in interface javax.validation.ConstraintDescriptor
 
isSuitable(Class<? extends Configuration<?>>) - Method in interface javax.validation.spi.ValidationProvider
Return true if configurationClass is the uniquely identifying Configuration subclass for this provider
isTraversable(Object, String, Class<?>, String, ElementType) - Method in interface javax.validation.TraversableResolver
Determine if a property can be traversed by Bean Validation.
isValid(T, ConstraintValidatorContext) - Method in interface javax.validation.ConstraintValidator
Implement the validation logic.

J

javax.validation - package javax.validation
 
javax.validation.bootstrap - package javax.validation.bootstrap
 
javax.validation.constraints - package javax.validation.constraints
 
javax.validation.groups - package javax.validation.groups
 
javax.validation.spi - package javax.validation.spi
 

M

Max - Annotation Type in javax.validation.constraints
The annotated element must be a number whose value must be lower or equal to the specified maximum.
Max.List - Annotation Type in javax.validation.constraints
Defines several @Max annotations on the same element
messageInterpolator(MessageInterpolator) - Method in interface javax.validation.Configuration
Defines the message interpolator used.
MessageInterpolator - Interface in javax.validation
Interpolate a given constraint error message.
messageInterpolator(MessageInterpolator) - Method in interface javax.validation.ValidatorContext
Defines the message interpolator implementation used by the Validator.
MessageInterpolator.Context - Interface in javax.validation
Informations related to the interpolation context
Min - Annotation Type in javax.validation.constraints
The annotated element must be a number whose value must be higher or equal to the specified minimum.
Min.List - Annotation Type in javax.validation.constraints
Defines several @Min annotations on the same element

N

NotNull - Annotation Type in javax.validation.constraints
The annotated element must not be null.
NotNull.List - Annotation Type in javax.validation.constraints
Defines several @NotNull annotations on the same element
Null - Annotation Type in javax.validation.constraints
The annotated element must be null.
Null.List - Annotation Type in javax.validation.constraints
Defines several @Null annotations on the same element

O

OverridesAttribute - Annotation Type in javax.validation
Mark an attribute as overriding the attribute of a composing constraint.
OverridesAttribute.List - Annotation Type in javax.validation
Defines several @OverridesAttribute annotations on the same element

P

Past - Annotation Type in javax.validation.constraints
The annotated element must be a date in the past.
Past.List - Annotation Type in javax.validation.constraints
Defines several @Past annotations on the same element
Pattern - Annotation Type in javax.validation.constraints
The annotated String must match the following regular expression.
Pattern.Flag - Enum in javax.validation.constraints
Possible Regexp flags
Pattern.List - Annotation Type in javax.validation.constraints
Defines several @Pattern annotations on the same element
PropertyDescriptor - Interface in javax.validation
Describes a Java Bean property hosting validation constraints.
providerResolver(ValidationProviderResolver) - Method in interface javax.validation.bootstrap.GenericBootstrap
Defines the provider resolution strategy.
providerResolver(ValidationProviderResolver) - Method in interface javax.validation.bootstrap.ProviderSpecificBootstrap
Optionally define the provider resolver implementation used.
ProviderSpecificBootstrap<T extends Configuration<T>> - Interface in javax.validation.bootstrap
Defines the state used to bootstrap Bean Validation and creates a provider specific Configuration.

R

ReportAsSingleViolation - Annotation Type in javax.validation
A constraint annotation hosting this annotation will return the composed annotation error report if any of the composing annotations fail.

S

Size - Annotation Type in javax.validation.constraints
The annotated element size must be between the specified boundaries (included).
Size.List - Annotation Type in javax.validation.constraints
Defines several @Size annotations on the same element

T

traversableResolver(TraversableResolver) - Method in interface javax.validation.Configuration
Defines the traversable resolver used.
TraversableResolver - Interface in javax.validation
Contract determining if a property can be accessed by the Bean Validation provider This contract is called for each property either validated or traversed.
traversableResolver(TraversableResolver) - Method in interface javax.validation.ValidatorContext
Defines the traversable resolver implementation used by the Validator.

U

UnexpectedTypeException - Exception in javax.validation
Exception raised in the case that the constraint validator resolution cannot determine a suitable validators for a given type.
UnexpectedTypeException(String) - Constructor for exception javax.validation.UnexpectedTypeException
 
UnexpectedTypeException() - Constructor for exception javax.validation.UnexpectedTypeException
 
UnexpectedTypeException(String, Throwable) - Constructor for exception javax.validation.UnexpectedTypeException
 
UnexpectedTypeException(Throwable) - Constructor for exception javax.validation.UnexpectedTypeException
 
usingContext() - Method in interface javax.validation.ValidatorFactory
Define the validator context and return a Validator compliant with this state.

V

Valid - Annotation Type in javax.validation
Mark an association as cascaded.
validate(T, Class<?>...) - Method in interface javax.validation.Validator
Validates all constraints on object.
validateProperty(T, String, Class<?>...) - Method in interface javax.validation.Validator
Validates all constraints placed on the property named <code>propertyName</code> of object
validateValue(Class<T>, String, Object, Class<?>...) - Method in interface javax.validation.Validator
Validates all constraints placed on the property named propertyName would the property value be value

ConstraintViolation objects return null for ConstraintViolation.getRootBean() and ConstraintViolation.getLeafBean()

Validation - Class in javax.validation
This class is the entry point for the Bean Validation framework.
Validation() - Constructor for class javax.validation.Validation
 
ValidationException - Exception in javax.validation
Base exception of all "unexpected" problems.
ValidationException(String) - Constructor for exception javax.validation.ValidationException
 
ValidationException() - Constructor for exception javax.validation.ValidationException
 
ValidationException(String, Throwable) - Constructor for exception javax.validation.ValidationException
 
ValidationException(Throwable) - Constructor for exception javax.validation.ValidationException
 
ValidationProvider - Interface in javax.validation.spi
Contract between the validation bootstrap mechanism and the provider engine.
ValidationProviderResolver - Interface in javax.validation
Determine the list of Bean Validation providers available in the runtime environment

Bean Validation providers are identified by the presence of META-INF/services/javax.validation.spi.ValidationProvider files following the Service Provider pattern described here

Each META-INF/services/javax.validation.spi.ValidationProvider file contains the list of ValidationProvider implementations each of them representing a provider.

Validator - Interface in javax.validation
Validate bean instances.
ValidatorContext - Interface in javax.validation
Return a Validator corresponding to the initialized state.
ValidatorFactory - Interface in javax.validation
Factory returning initialized Validator instances.
valueOf(String) - Static method in enum javax.validation.constraints.Pattern.Flag
Returns the enum constant of this type with the specified name.
values() - Static method in enum javax.validation.constraints.Pattern.Flag
Returns an array containing the constants of this enum type, in the order they're declared.

A B C D E F G H I J M N O P R S T U V

Copyright © 2007-2009. All Rights Reserved.