blob: ec32f5139a29bd444cd38e33e30dadae0613825f [file] [log] [blame]
{ "type": "class",
"qname": "mx.validators.RegExpValidationResult",
"baseClassname": "mx.validators.ValidationResult"
,
"description": "The RegExpValidator class dispatches the <code>valid</code> and <code>invalid</code> events. For an <code>invalid</code> event, the event object is an instance of the ValidationResultEvent class, and the <code>ValidationResultEvent.results</code> property contains an Array of ValidationResult objects. <p>However, for a <code>valid</code> event, the <code>ValidationResultEvent.results</code> property contains an Array of RegExpValidationResult objects. The RegExpValidationResult class is a child class of the ValidationResult class, and contains additional properties used with regular expressions.</p>",
"tags": [
{ "tagName": "see",
"values": ["mx.events.ValidationResultEvent"]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]},
{ "tagName": "royalesuppresspublicvarwarning",
"values": []} ],
"members": [
{ "type": "method",
"qname": "mx.validators.RegExpValidationResult",
"namespace": "",
"bindable": [],
"details": [],
"deprecated": {},
"description": "Constructor",
"tags": [
{ "tagName": "param",
"values": ["isError Pass <code>true</code> if there was a validation error.", "subField Name of the subfield of the validated Object.", "errorCode Validation error code.", "errorMessage Validation error message.", "matchedString Matching substring.", "matchedIndex Index of the matching String.", "matchedSubstrings Array of substring matches."]},
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ],
"return": "",
"params": [{ "name": "isError", "type": "Boolean"},
{ "name": "subField", "type": "String"},
{ "name": "errorCode", "type": "String"},
{ "name": "errorMessage", "type": "String"},
{ "name": "matchedString", "type": "String"},
{ "name": "matchedIndex", "type": "int"},
{ "name": "matchedSubstrings", "type": "Array"}]}
,
{ "type": "field",
"qname": "matchedIndex",
"return": "int",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "An integer that contains the starting index in the input String of the match.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "matchedString",
"return": "String",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "A String that contains the substring of the input String that matches the regular expression.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]},
{ "type": "field",
"qname": "matchedSubstrings",
"return": "Array",
"namespace": "public",
"bindable": [],
"details": [],
"deprecated": {},
"description": "An Array of Strings that contains parenthesized substring matches, if any. If no substring matches are found, this Array is of length 0. Use <code>matchedSubStrings[0]</code> to access the first substring match.",
"tags": [
{ "tagName": "playerversion",
"values": ["Flash 9", "AIR 1.1"]},
{ "tagName": "productversion",
"values": ["Flex 3"]},
{ "tagName": "langversion",
"values": ["3.0"]} ]}]
}