The mx.validators package contains the classes to support data validation.
Interfaces
Interface | Description | |
---|---|---|
IValidatorListener | The interface that components implement to support the Flex data validation mechanism. |
Classes
Class | Description | |
---|---|---|
CreditCardValidator | The CreditCardValidator class validates that a credit card number is the correct length, has the correct prefix, and passes the Luhn mod10 algorithm for the specified card type. | |
CreditCardValidatorCardType | The CreditCardValidatorCardType class defines value constants for specifying the type of credit card to validate. | |
CurrencyValidator | The CurrencyValidator class ensures that a String represents a valid currency expression. | |
CurrencyValidatorAlignSymbol | The CurrencyValidatorAlignSymbol class defines value constants for specifying currency symbol alignment. | |
DateValidator | The DateValidator class validates that a String, Date, or Object contains a proper date and matches a specified format. | |
EmailValidator | The EmailValidator class validates that a String has a single @ sign, a period in the domain name and that the top-level domain suffix has two, three, four, or six characters. | |
NumberValidator | The NumberValidator class ensures that a String represents a valid number. | |
NumberValidatorDomainType | The NumberValidatorDomainType class defines the values for the domain property of the NumberValidator class. | |
PhoneNumberValidator | The PhoneNumberValidator class validates that a string is a valid phone number. | |
RegExpValidationResult | The RegExpValidator class dispatches the valid and invalid events. | |
RegExpValidator | The RegExpValidator class lets you use a regular expression to validate a field. | |
SocialSecurityValidator | The SocialSecurityValidator class validates that a String is a valid United States Social Security number. | |
StringValidator | The StringValidator class validates that the length of a String is within a specified range. | |
ValidationResult | The ValidationResult class contains the results of a validation. | |
Validator | The Validator class is the base class for all Flex validators. | |
ZipCodeValidator | The ZipCodeValidator class validates that a String has the correct length and format for a five-digit ZIP code, a five-digit+four-digit United States ZIP code, or Canadian postal code. | |
ZipCodeValidatorDomainType | The ZipCodeValidatorDomainType class defines the values for the domain property of the ZipCodeValidator class, which you use to specify the type of ZIP code to validate. |
Fri Mar 19 2010, 02:57 AM -07:00