org.iscreen.validators |
This package contains classes that implement the org.iscreen.Validator interface and are used
for validating individual fields (or a set of fields). Typically, they subclass the
org.iscreen.BaseValidator abstract class.
These classes provide standard business logic to ensure that Java object fields/properties are
"correct" (meaning, they are valid based upon some configured business requirements).
|
Java Source File Name | Type | Comment |
DateFormatValidator.java | Class | This validator checks the format of the input String to verify that
it conforms to the proper format. |
DateFormatValidatorTest.java | Class | Tests the DateFormatValidator. |
DateRangeValidator.java | Class | The date range validator checks a "from" date to a "to" date to ensure
that the "to" date is equal to or after the "from" date. |
DateRangeValidatorTest.java | Class | Tests the DateRangeValidator validator. |
NullValidator.java | Class | The NullValidator checks a single value and ensures that it's not null. |
NullValidatorTest.java | Class | Tests the NullValidator validator. |
NumberRangeValidator.java | Class | This validator verifies that a passed in java.lang.Number is within
a certain range. |
NumberRangeValidatorTest.java | Class | Tests the StringValidator validator. |
RegularExpressionValidator.java | Class | The RegularExpressionValidator uses a regular expression to check
a single String value to ensure that it finds a match. |
RegularExpressionValidatorTest.java | Class | Tests the RegularExpressionValidator validator. |
StringValidator.java | Class | The StringValidator checks the length of the given value. |
StringValidatorTest.java | Class | Tests the StringValidator validator. |