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

A

addError() - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder
Add the new error report to be generated if the constraint validator mark the value as invalid.
addError() - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeBuilderCustomizableContext
Add the new error report to be generated if the constraint validator mark the value as invalid.
addError() - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeBuilderDefinedContext
Add the new error report to be generated if the constraint validator mark the value as invalid.
addError() - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeContextBuilder
Add the new error report to be generated if the constraint validator mark the value as invalid.
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.
addSubNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder
Add a subNode to the path the error will be associated to.
addSubNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeBuilderCustomizableContext
Add a subNode to the path the error will be associated to.
addSubNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeBuilderDefinedContext
Add a subNode to the path the error will be associated to.
addSubNode(String) - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeContextBuilder
Add a subNode to the path the error will be associated to.
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
atIndex(Integer) - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeContextBuilder
Define the index the object is into the List or array
atKey(Object) - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeContextBuilder
Define the key the object is into the Map

B

BeanDescriptor - Interface in javax.validation.metadata
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.
buildErrorWithMessageTemplate(String) - Method in interface javax.validation.ConstraintValidatorContext
Return an error builder building an error allowing to optionally associate the error to a sub path.
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<U>) - 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.metadata
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.
ConstraintValidatorContext.ErrorBuilder - Interface in javax.validation
Error builder allowing to optionally associate the error to a sub path.
ConstraintValidatorContext.ErrorBuilder.NodeBuilderCustomizableContext - Interface in javax.validation
Represent a subnode whose context is configurable (ie index, key and isInIterable)
ConstraintValidatorContext.ErrorBuilder.NodeBuilderDefinedContext - Interface in javax.validation
Represent a subnode whose context is known (ie index, key and isInIterable)
ConstraintValidatorContext.ErrorBuilder.NodeContextBuilder - Interface in javax.validation
Represent refinement choices for a node which is in an Iterator or Map.
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) - Method in interface javax.validation.spi.ValidationProvider
Returns a Configuration instance implementing T, the Configuration subinterface.

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.metadata
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.metadata.ConstraintDescriptor
Returns the annotation describing the constraint declaration.
getAttributes() - Method in interface javax.validation.metadata.ConstraintDescriptor
Returns a map containing the annotation attribute names as keys and the annotation attribute values as value.
getComposingConstraints() - Method in interface javax.validation.metadata.ConstraintDescriptor
Return a set of composing ConstraintDescriptors where each descriptor describes a composing constraint.
getConstrainedProperties() - Method in interface javax.validation.metadata.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.metadata.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.metadata.BeanDescriptor
Return the property descriptor for a given property.
getConstraintValidatorClasses() - Method in interface javax.validation.metadata.ConstraintDescriptor
Immutable list of the constraint validation implementation classes.
getConstraintValidatorFactory() - Method in interface javax.validation.spi.ConfigurationState
Returns the constraint validator factory of this configuration.
getConstraintViolations() - Method in exception javax.validation.ConstraintViolationException
Set of constraint violations reported during a validation
getDefaultErrorMessageTemplate() - 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
getElementClass() - Method in interface javax.validation.metadata.ElementDescriptor
 
getGroups() - Method in interface javax.validation.metadata.ConstraintDescriptor
The Set of groups the constraint is applied on.
getIndex() - Method in interface javax.validation.Path.Node
 
getInstance(Class<T>) - Method in interface javax.validation.ConstraintValidatorFactory
 
getInvalidValue() - Method in interface javax.validation.ConstraintViolation
 
getKey() - Method in interface javax.validation.Path.Node
 
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 configuration streams.
getMessage() - Method in interface javax.validation.ConstraintViolation
 
getMessageInterpolator() - Method in interface javax.validation.spi.ConfigurationState
Returns the message interpolator of this configuration..
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
 
getName() - Method in interface javax.validation.Path.Node
 
getPayload() - Method in interface javax.validation.metadata.ConstraintDescriptor
The Set of payload the constraint hosts.
getProperties() - Method in interface javax.validation.spi.ConfigurationState
Returns a map of non type-safe custom properties.
getPropertyName() - Method in interface javax.validation.metadata.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
Returns the traversable resolver for this configuration.
getUnorderedConstraintDescriptorsMatchingGroups(Class<?>...) - Method in interface javax.validation.metadata.ElementDescriptor
Return the list of matching constraints for a given set of groups for this element.
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
 
getValue() - Method in enum javax.validation.constraints.Pattern.Flag
 
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.metadata.ElementDescriptor
 

I

ignoreXmlConfiguration() - Method in interface javax.validation.Configuration
Ignore data from the META-INF/validation.xml file if this method is called.
inIterable() - Method in interface javax.validation.ConstraintValidatorContext.ErrorBuilder.NodeBuilderCustomizableContext
Mark the node as being in an Iterable or a Map
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.metadata.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)
isCascadable(Object, Path.Node, Class<?>, Path, ElementType) - Method in interface javax.validation.TraversableResolver
Determine if the Bean Validation provider is allowed to cascade validation on the bean instance returned by the property value marked as @Valid.
isCascaded() - Method in interface javax.validation.metadata.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
isInIterable() - Method in interface javax.validation.Path.Node
 
isReachable(Object, Path.Node, Class<?>, Path, ElementType) - Method in interface javax.validation.TraversableResolver
Determine if the Bean Validation provider is allowed to reach the property state
isReportAsSingleViolation() - Method in interface javax.validation.metadata.ConstraintDescriptor
 
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
A group defines a subset of constraints.
javax.validation.metadata - package javax.validation.metadata
 
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
Information 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
Path - Interface in javax.validation
Represent a navigation path from an object to another.
Path.Node - Interface in javax.validation
Represents an element of a navigation path
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
Payload - Interface in javax.validation
Payload type that can be attached to a given constraint declaration.
PropertyDescriptor - Interface in javax.validation.metadata
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 T.

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 that is being either validated or cascaded.
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 validator 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
 
unwrap(Class<T>) - Method in interface javax.validation.Validator
Return an object of the specified type to allow access to the provider-specific API.
unwrap(Class<T>) - Method in interface javax.validation.ValidatorFactory
Return an object of the specified type to allow access to the provider-specific API.
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 propertyName 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<T extends Configuration<T>> - Interface in javax.validation.spi
Contract between the validation bootstrap mechanism and the provider engine.
ValidationProviderResolver - Interface in javax.validation
Determines 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
Represents the context that is used to create Validator instances.
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.