Package org.hibernate.validator.constraints

Hibernate Validator specific constraints.

See:
          Description

Enum Summary
CompositionType The Enum CompositionType which is used as argument to the annotation ConstraintComposition.
SafeHtml.WhiteListType Defines default whitelist implementations
 

Annotation Types Summary
ConstraintComposition Boolean operator that is applied to all constraints of a composing constraint annotation.
CreditCardNumber The annotated element has to represent a valid credit card number.
CreditCardNumber.List Defines several @CreditCardNumber annotations on the same element.
Email The string has to be a well-formed email address.
Email.List Defines several @Email annotations on the same element.
Length Validate that the string is between min and max included.
Length.List Defines several @Length annotations on the same element.
NotBlank Validate that the annotated string is not null or empty.
NotBlank.List Defines several @NotBlank annotations on the same element.
NotEmpty Asserts that the annotated string, collection, map or array is not null or empty.
NotEmpty.List Defines several @NotEmpty annotations on the same element.
Range The annotated element has to be in the appropriate range.
Range.List Defines several @Range annotations on the same element.
SafeHtml Validate a rich text value provided by the user to ensure that it contains no malicious code, such as embedded <script> elements.
SafeHtml.List Defines several @WebSafe annotations on the same element.
ScriptAssert A class-level constraint, that evaluates a script expression against the annotated element.
ScriptAssert.List Defines several @ScriptAssert annotations on the same element.
URL Validate that the string is a valid URL.
URL.List Defines several @URL annotations on the same element.
 

Package org.hibernate.validator.constraints Description

Hibernate Validator specific constraints.

This package is part of the public Hibernate Validator API.



Copyright © 2007-2011 Red Hat Middleware, LLC. All Rights Reserved