org.jreform.criteria |
Provides criteria for placing restrictions on input values.
|
Java Source File Name | Type | Comment |
AbstractCriterion.java | Class | An abstract criterion that verifies itself and sets an error message
if validation fails. |
Accept.java | Class | Checks that value is equal to one of the acceptable values. |
AcceptString.java | Class | Checks if string is equal to one of the passed in strings. |
And.java | Class | Performs an AND over all criteria on the given value. |
Criteria.java | Class | A collection of static methods to create commonly used criteria. |
Email.java | Class | Checks that the value conforms to the email address format. |
ExactLength.java | Class | Checks that the length of the value is equal to the given length. |
Length.java | Class | Checks that the length of the value is within the given range. |
Max.java | Class | Checks that the value is less than or equal to the given
Comparable . |
MaxLength.java | Class | Checks that value is not greater than the specified maximum. |
Min.java | Class | Checks that value is greater than or equal to the given
Comparable . |
MinLength.java | Class | Checks that value is not less than the specified minimum. |
Or.java | Class | Performs an OR over all criteria on the given value. |
PostcodeCA.java | Class | Checks that the value conforms to a valid Canadian postcode. |
Range.java | Class | Checks that value is within the given range. |
Regex.java | Class | Checks if a string matches a regular expression. |
StartsWith.java | Class | Checks if value starts with the given string. |
ZipCode.java | Class | Checks that the value conforms to the U.S. |