Abstract Constructs a number validator with a regular expression, that accepts number from minimum to maximum.
Optional pattern: RegExpProtected m_Protected m_Returns the number validator's maximum value.
Sets the number validator's maximum value to maximum.
Returns the number validator's minimum value.
Sets the number validator's minimum value to minimum.
Returns the regular expression of this validator.
Sets the regular expression of this validator to pattern.
Protected Abstract toReturns Invalid if input is invalid according to this validator's rules. Returns Intermediate if input is likely that a little more editing will make the input acceptable. Returns Acceptable if the input is valid.
Generated using TypeDoc
The NumberValidator class is an abstract validator that ensures a string contains a valid number within a specified range.