The Portrate Interview Engine

Portrate.Interview.Model.Validation Namespace

Namespace hierarchy

Classes

Class Description
AbstractValidator Provides basic implementation support for messages and conditional rules to trigger validators.
 Author: Jacob W Anderson (c) Portrate, LLC. All rights reserved. 
DateFormatValidator Validates a value against known date formats. If none of the date formats match the value, then the validator is triggered. Author: Jacob W Anderson
DateRangeValidator Validates a date against a min and max date. Supports data names for the min and max date as well as the keyword 'today' for validating against the current date. Author: Jacob W Anderson
EnumerationValidator Validates values against an enumeration of values. Determines a value to be invalid if the value does not match any of the enumerated values.
 Author: Jacob W Anderson (c) Portrate, LLC. All rights reserved. 
FormValidatorFactory Constructs instances of IDPLFormValidator for well known types taken from the configuration file.
MultiColumnFormValidator Runs the validators for each of the control rendered on a multi-column or multi-row rendered page.
RegexValidator Performs validation using a regular expression.
SingleColumnFormValidator Validates the controls for a single-column form layout. This validator assumes that there is a one-to-one mapping of dictionery names to controls in the current data context.
 Author: Jacob W Anderson (c) 2003 Portrate, LLC. All rights reserved. 
StringLengthValidator Verifies that a string is of a certain length, or length range. Reads the following attributes from the configuration element:
 minLength: The minimum length of the string maxLength: The maximum length of the string trimmed: True if the string is 'trimmed' prior to validation message: The message returned if validation fails allowNull: True if null strings are allowed 
 Author: Jacob W Anderson Date: 30 Oct 2003 (c) 2003 Portrate, LLC. All rights reserved. 
ValidatorFactory Constructs instances of IDPLValidator for well known types taken from the configuration file.
ValidatorGroup Collects a group of validators and runs each one in sequence, stopping on the first one that is triggered. Author: Jacob W Anderson
ValueRangeValidator Validates a value to be within a defined range. The range can be lower bounded, upper bounded, or closed bounded.
 Author: Jacob W Anderson 
YearValidator Validates the value of a year on a date. By default, this validator will prevent years that are earlier than today's year. With configuration, the lower and upper bound on years can be specified. Supports 2-digit and 4-digit years. 2-digit years will be interpreted as "last century" when they are less than 50.
 Author: Jacob W Anderson 

Interfaces

Interface Description
IDPLFormValidator Defines methods for validating a form. These methods return validation and error information about the specific controls in the form.
 Author: Jacob W Anderson (c) 2003 Portrate, LLC. All rights reserved. 
IDPLValidator Defines methods and properties that are used by the validation classes to validate data for a specific property.
 Author: Jacob W Anderson Date: 30 Oct 2003 (c) 2003 Portrate, LLC. All rights reserved. 

Enumerations

Enumeration Description
DateOffsetUnit