Package org.apache.fulcrum.intake.validator
Validators for the various intake field types.
$Id$
$Id$
-
Interface Summary Interface Description CompareCallback<T> Interface to define the compare operation betwen two field valuesConstraint A constraint has a name and a value and an optional message.InitableByConstraintMap This interface marks a bean/class that can have its properties set by values in a Map.Validator<T> Validator api. -
Class Summary Class Description BigDecimalValidator Validates BigDecimals with the following constraints in addition to those listed in NumberValidator and DefaultValidator.BooleanValidator Validator for boolean field types.
Values are validated by attempting to match the value to a list of strings for true and false values.DateRangeValidator Validates a DateString field in dependency on another DateString field.DateStringValidator Validates numbers with the following constraints in addition to those listed in DefaultValidator.DefaultValidator<T> DefaultValidator that will compare a testValue against the following constraints: Validation rules NameValid ValuesDefault Value requiredtrue|falsefalse maskregexp minLengthinteger0 maxLengthinteger This validator can serve as the base class for more specific validatorsDoubleValidator Validates Doubles with the following constraints in addition to those listed in NumberValidator and DefaultValidator.FieldReference Helper Class to manage relations between fields.FileValidator A validator that will compare a Part testValue against the following constraints in addition to those listed in DefaultValidator.FloatValidator Validates Floats with the following constraints in addition to those listed in NumberValidator and DefaultValidator.IntegerRangeValidator Validates an int field in dependency on another int field.IntegerValidator Validates Integers with the following constraints in addition to those listed in NumberValidator and DefaultValidator.LongValidator Validates Longs with the following constraints in addition to those listed in NumberValidator and DefaultValidator.NumberValidator<T extends Number> Validates numbers with the following constraints in addition to those listed in DefaultValidator.ShortValidator Validates Shorts with the following constraints in addition to those listed in NumberValidator and DefaultValidator.StringValidator A validator that will compare a testValue against the following constraints: Validation rules NameValid ValuesDefault Value requiredtrue|falsefalse maskregexp minLengthinteger0 maxLengthinteger This validator can serve as the base class for more specific validators -
Enum Summary Enum Description FieldReference.Comparison -
Exception Summary Exception Description InvalidMaskException An Exception indidate an invalid field mask.ValidationException An Exception to mark a failed validation