incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject svn commit: r1299496 - in /incubator/flex/whiteboard/jmclean/validators/asdocs: ./ mx/ mx/formatters/ mx/formatters/PostCodeFormatter.html mx/validators/ mx/validators/PostCodeValidator.html
Date Mon, 12 Mar 2012 00:25:21 GMT
Author: jmclean
Date: Mon Mar 12 00:25:21 2012
New Revision: 1299496

URL: http://svn.apache.org/viewvc?rev=1299496&view=rev
Log:
first pass at ASDoc generation

Added:
    incubator/flex/whiteboard/jmclean/validators/asdocs/
    incubator/flex/whiteboard/jmclean/validators/asdocs/mx/
    incubator/flex/whiteboard/jmclean/validators/asdocs/mx/formatters/
    incubator/flex/whiteboard/jmclean/validators/asdocs/mx/formatters/PostCodeFormatter.html
    incubator/flex/whiteboard/jmclean/validators/asdocs/mx/validators/
    incubator/flex/whiteboard/jmclean/validators/asdocs/mx/validators/PostCodeValidator.html

Added: incubator/flex/whiteboard/jmclean/validators/asdocs/mx/formatters/PostCodeFormatter.html
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/jmclean/validators/asdocs/mx/formatters/PostCodeFormatter.html?rev=1299496&view=auto
==============================================================================
--- incubator/flex/whiteboard/jmclean/validators/asdocs/mx/formatters/PostCodeFormatter.html (added)
+++ incubator/flex/whiteboard/jmclean/validators/asdocs/mx/formatters/PostCodeFormatter.html Mon Mar 12 00:25:21 2012
@@ -0,0 +1,106 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="PostCodeFormatter,mx.formatters.PostCodeFormatter,formatString,formats,format"><title>mx.formatters.PostCodeFormatter</title></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
+				asdocTitle = 'PostCodeFormatter - Postcode Validator and Formatter';
+				var baseRef = '../../';
+				window.onload = configPage;
+			--></script>
+<script type="text/javascript">
+			scrollToNameAnchor();
+		</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Postcode Validator and Formatter</td><td class="titleTableTopNav" align="right"><a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../all-index-A.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?mx/formatters/PostCodeFormatter.html&amp;mx/formatters/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="title
 TableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">PostCodeFormatter</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
+				<!--
+				
+					if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("PostCodeFormatter"); titleBar_setSubNav(false,true,false,false,false,false,false,false,true,false,false	,false,false,false,false,false);}	
+				-->
+			</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">mx.formatters</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public  class  PostCodeFormatter</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">PostCodeFormatter  <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> mx.formatters.Formatter</td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</
 b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p></p>
+  The PostCodeFormatter class formats a valid number
+  based on a user-supplied <code>formatString</code> or
+  <code>formats</code> property.
+  
+  Postcode format consists of C,N,A and spaces or hyphens
+  C or CC is country code (required for some postcodes)
+ N is a number 0-9
+  A is a letter A-Z or a-z
+ 
+  For example "NNNN" is a four digit numeric postcode, "CCNNNN" is country code
+  followed by four digits and "AA NNNN" is two letters, followed by a space
+  followed by four digits.
+ 
+  More than one format can be specified by setting the <code>formats</code>
+  property to an array of formats.
+  
+  <p>Spaces and hypens will be added if missing to format the postcode correctly.</p>
+ 
+               <p>If an error occurs, an empty String is returned and a String that  
+  describes the error is saved to the <code>error</code> property.  
+  The <code>error</code> property can have one of the following values:</p>
+ 
+               <ul>
+                  <li>
+                     <code>"invalidFormat"</code> means the format constants an invalid
+    character.</li>
+                  <li>
+                     <code>"wrongFormat"</code> means the postcode has an invalid format.</li>
+                  <li>
+                     <code>"wrongLength"</code> means the postcode is not a valid length.</li>
+                  <li>
+                     <code>"invalidChar"</code> means the postcode contains an invalid
+    character.</li>
+               </ul>
+  
+            <p></p><a name="mxmlSyntaxSummary"></a><span class="classHeaderTableLabel">MXML Syntax</span><span id="showMxmlLink" style="display:none"><a href="#mxmlSyntaxSummary" onclick="toggleMXMLOnly();"><img src="../../images/collapsed.gif" title="collapsed" alt="collapsed" class="collapsedImage">Show MXML Syntax</a><br/></span><span id="hideMxmlLink"><a href="#mxmlSyntaxSummary" onclick="toggleMXMLOnly();"><img src="../../images/expanded.gif" title="expanded" alt="expanded" class="expandedImage">Hide MXML Syntax</a></span><div id="mxmlSyntax" class="mxmlSyntax">
+  
+  <p>The <code>&lt;mx:PostCodeFormatter&gt;</code> tag
+  inherits all of the tag attributes of its superclass,
+  and adds the following tag attributes:</p>
+  
+  <pre>
+  &lt;mx:PostCodeFormatter
+    formatString="NNNNN"
+    formats="['NNNNN', 'NNNNN-NNNN']"
+  />
+  </pre>
+  
+  
+  </div><script language="javascript" type="text/javascript"><!--
+								setMXMLOnly();
+								--></script><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#formats" class="signatureLink">formats</a> : Array<div class="summaryTableDescription"> 
+	  Formats of postcode
+	  Sets an array of valid formats, use for locales
+	  where more than one format is required.</div></td><td class="summaryTableOwnerCol">PostCodeFormatter</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#formatString" class="signatureLink">formatString</a> : String<div class="summaryTableDescription"> 
+	  Format of postcode
+	  Format consists of CC,N,A and spaces or hyphens
+	  CC is country code (required for some postcodes)
+	 N is a number 0-9
+	  A is a letter A-Z or a-z
+	 
+	  </div></td><td class="summaryTableOwnerCol">PostCodeFormatter</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#PostCodeFormatter()" class="signatureLink">PostCodeFormatter</a>()</div><div class="summaryTableDescription">
+	  Constructor.</div></td><td class="summaryTableOwnerCol">PostCodeFormatter</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#format()" class="signatureLink">format</a>(value:Object):String</div><div class="summaryTableDescription">[override] 
+	  Formats the value by using the specified format(s).</div></td><td class="summaryTableOwnerCol">PostCodeFormatter</td></tr></table></div><script language="javascript" type="text/javascript"><!--
+										showHideInherited();
+										--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="formats"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">formats</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>formats:Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  Formats of postcode
+	  Sets an array of valid formats, use for locales
+	  where more than one format is required. eg en_UK
+	  See format for format.
+	 
+	 
+	  </p><p> The default value is <code>[]</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get formats():Array</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set formats(value:Array):void</code><br/></div><a name="propertyDetail"></a><a name="formatString"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">formatString</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>formatString:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="
 0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  Format of postcode
+	  Format consists of CC,N,A and spaces or hyphens
+	  CC is country code (required for some postcodes)
+	 N is a number 0-9
+	  A is a letter A-Z or a-z
+	 
+	  </p><p> The default value is <code>null</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get formatString():String</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set formatString(value:String):void</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="PostCodeFormatter()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">PostCodeFormatter</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function PostCodeFormatter()</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Vers
 ion :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p>
+	  Constructor.
+	  
+	  </p></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="format()"></a><a name="format(Object)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">format</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code>override public function format(value:Object):String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p>
+	  Formats the value by using the specified format(s).
+	  If the value cannot be formatted this method returns an empty String 
+	  and write a description of the error to the <code>error</code> property.
+	 
+	  </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">value</span>:Object</code> &mdash; Value to format.
+	 
+	  </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>String</code> &mdash; Formatted String. Empty if an error occurs. A description 
+	  of the error condition is written to the <code>error</code> property.
+	  
+	  </td></tr></table></div><br/><br/><hr><br/><p></p><center class="copyright"><footer></footer><br/>Mon Mar 12 2012, 10:59 AM +11:00  </center></div></body></html><!--<br/>Mon Mar 12 2012, 10:59 AM +11:00  -->
\ No newline at end of file

Added: incubator/flex/whiteboard/jmclean/validators/asdocs/mx/validators/PostCodeValidator.html
URL: http://svn.apache.org/viewvc/incubator/flex/whiteboard/jmclean/validators/asdocs/mx/validators/PostCodeValidator.html?rev=1299496&view=auto
==============================================================================
--- incubator/flex/whiteboard/jmclean/validators/asdocs/mx/validators/PostCodeValidator.html (added)
+++ incubator/flex/whiteboard/jmclean/validators/asdocs/mx/validators/PostCodeValidator.html Mon Mar 12 00:25:21 2012
@@ -0,0 +1,185 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!-- saved from url=(0014)about:internet --><html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><link rel="stylesheet" href="../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../override.css" type="text/css"><meta name="keywords" content="PostCodeValidator,mx.validators.PostCodeValidator,ERROR_INCORRECT_FORMAT,ERROR_INVALID_CHAR,ERROR_WRONG_FORMAT,ERROR_WRONG_LENGTH,FORMAT_COUNTRY_CODE,FORMAT_LETTER,FORMAT_NUMBER,FORMAT_SPACERS,countryCode,extraValidation,format,formats,incorrectFormatError,invalidCharError,wrongFormatError,wrongLengthError,doValidation,suggestCountryCode,suggestFormat,validatePostCode"><title>mx.validators.PostCodeValidator</title></head><body><script language="javascript" type="text/javascript" src="../../asdoc.js"></script><
 script language="javascript" type="text/javascript" src="../../help.js"></script><script language="javascript" type="text/javascript" src="../../cookies.js"></script><script language="javascript" type="text/javascript"><!--
+				asdocTitle = 'PostCodeValidator - Postcode Validator and Formatter';
+				var baseRef = '../../';
+				window.onload = configPage;
+			--></script>
+<script type="text/javascript">
+			scrollToNameAnchor();
+		</script><table class="titleTable" cellpadding="0" cellspacing="0" id="titleTable" style="display:none"><tr><td class="titleTableTitle" align="left">Postcode Validator and Formatter</td><td class="titleTableTopNav" align="right"><a href="../../package-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Packages</a>&nbsp;|&nbsp;<a href="../../class-summary.html" onclick="loadClassListFrame('../../all-classes.html')">All Classes</a>&nbsp;|&nbsp;<a href="../../all-index-A.html" onclick="loadClassListFrame('../../index-list.html')">Index</a>&nbsp;|&nbsp;<a id="framesLink1" href="../../index.html?mx/validators/PostCodeValidator.html&amp;mx/validators/class-list.html">Frames</a><a id="noFramesLink1" style="display:none" href="" onclick="parent.location=document.location"> No Frames </a></td><td class="titleTableLogo" align="right" rowspan="3"><img src="../../images/logo.jpg" class="logoImage" alt=" Adobe Logo " title=" Adobe Logo "></td></tr><tr class="title
 TableRow2"><td class="titleTableSubTitle" id="subTitle" align="left">PostCodeValidator</td><td class="titleTableSubNav" id="subNav" align="right"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#constantSummary">Constants</a></td></tr><tr class="titleTableRow3"><td colspan="3">&nbsp;</td></tr></table><script language="javascript" type="text/javascript" xml:space="preserve">
+				<!--
+				
+					if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("PostCodeValidator"); titleBar_setSubNav(true,true,false,false,false,false,false,false,true,false,false	,false,false,false,false,false);}	
+				-->
+			</script><div xmlns:fn="http://www.w3.org/2005/xpath-functions" class="MainContent"><table class="classHeaderTable" cellpadding="0" cellspacing="0"><tr><td class="classHeaderTableLabel">Package</td><td><a href="package-detail.html" onclick="javascript:loadClassListFrame('class-list.html')">mx.validators</a></td></tr><tr><td class="classHeaderTableLabel">Class</td><td class="classSignature">public  class  PostCodeValidator</td></tr><tr><td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">PostCodeValidator  <img src="../../images/inherit-arrow.gif" title="Inheritance" alt="Inheritance" class="inheritArrow"> mx.validators.Validator</td></tr></table><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</
 b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p></p>
+  The PostCodeValidator class validates that a String
+  has the correct length and format for a post code.
+ 
+  Postcode format consists of C,N,A and spaces or hyphens
+  CC or C is country code (required for some postcodes)
+ N is a number 0-9
+  A is a letter A-Z or a-z
+ 
+  For example "NNNN" is a four digit numeric postcode, "CCNNNN" is country code
+  followed by four digits and "AA NNNN" is two letters, followed by a space
+  followed by four digits.
+ 
+  Country codes one be one or two digits.
+ 
+  More than one format can be specified by setting the <code>formats</code>
+  property to an array of formats.
+  
+  <p></p><a name="mxmlSyntaxSummary"></a><span class="classHeaderTableLabel">MXML Syntax</span><span id="showMxmlLink" style="display:none"><a href="#mxmlSyntaxSummary" onclick="toggleMXMLOnly();"><img src="../../images/collapsed.gif" title="collapsed" alt="collapsed" class="collapsedImage">Show MXML Syntax</a><br/></span><span id="hideMxmlLink"><a href="#mxmlSyntaxSummary" onclick="toggleMXMLOnly();"><img src="../../images/expanded.gif" title="expanded" alt="expanded" class="expandedImage">Hide MXML Syntax</a></span><div id="mxmlSyntax" class="mxmlSyntax">
+ 
+  <p>The <code>&lt;mx:PostCodeValidator&gt;</code> tag
+  inherits all of the tag attributes of its superclass,
+  and adds the following tag attributes:</p>
+  
+  <pre>
+  &lt;mx:PostCodeValidator
+    countryCode="CC"
+    format="NNNNN"
+    formats="['NNNNN', 'NNNNN-NNNN']"
+    wrongFromatError="The postcode code must be correctly formatted."
+    invalidFormatError="The postcode format string is incorrect."
+    invalidCharError="The postcode contains invalid characters." 
+    wrongLengthError="The postcode is the wrong length." 
+  /&gt;
+  </pre>
+  
+  
+  </div><script language="javascript" type="text/javascript"><!--
+								setMXMLOnly();
+								--></script><br/><hr></div><a name="propertySummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Properties</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProperty"><tr><th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#countryCode" class="signatureLink">countryCode</a> : String<div class="summaryTableDescription"> 
+	  Optional 1 or 2 letter country code in postcode format
+	 
+	  </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#extraValidation" class="signatureLink">extraValidation</a> : Function<div class="summaryTableDescription"> 
+	  extraValidation
+	 
+	 A user supplied method that perform further validation on a postcode.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#format" class="signatureLink">format</a> : String<div class="summaryTableDescription"> 
+	  Format of postcode
+	  Format consists of C,N,A and spaces or hyphens
+	  CC or C is country code (required for some postcodes)
+	 N is a number 0-9
+	  A is a letter A-Z or a-z
+	 
+	  </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#formats" class="signatureLink">formats</a> : Array<div class="summaryTableDescription"> 
+	  Multiple postcode formats
+	  Sets an array of valid formats, use for locales
+	  where more than one poscode format exists.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#incorrectFormatError" class="signatureLink">incorrectFormatError</a> : String<div class="summaryTableDescription"> 
+	  Error message for an incorrect format string.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#invalidCharError" class="signatureLink">invalidCharError</a> : String<div class="summaryTableDescription"> 
+      Error message when the post code contains invalid characters.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#wrongFormatError" class="signatureLink">wrongFormatError</a> : String<div class="summaryTableDescription"> 
+	  Error message for an incorrectly formatted postcode.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#wrongLengthError" class="signatureLink">wrongLengthError</a> : String<div class="summaryTableDescription"> 
+      Error message for an invalid postcode.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr></table></div><a name="methodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Methods </div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#PostCodeValidator()" class="signatureLink">PostCodeValidator</a>()</div><div class="summaryTableDescription">
+      Constructor.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#suggestCountryCode()" class="signatureLink">suggestCountryCode</a>(locale:String = null):String</div><div class="summaryTableDescription"> 
+	  Sets the suggested country code for postcodes for a
+	  given locale.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#suggestFormat()" class="signatureLink">suggestFormat</a>(locale:String = null):Array</div><div class="summaryTableDescription"> 
+	  Sets the suggested format for postcodes for a
+	  given locale.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#validatePostCode()" class="signatureLink">validatePostCode</a>(validator:<a href="../../mx/validators/PostCodeValidator.html">PostCodeValidator</a>, postCode:String, baseField:String):Array</div><div class="summaryTableDescription">[static] 
+      Convenience method for calling a validator.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr></table></div><a name="protectedMethodSummary"></a><div class="summarySection"><div class="summaryTableTitle">Protected Methods </div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableProtectedMethod"><tr><th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><div class="summarySignature"><a href="#doValidation()" class="signatureLink">doValidation</a>(value:Object):Array</div><div class="summaryTableDescription">[override] 
+      Override of the base class doValidation() method
+      to validate a postcode.</div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr></table></div><a name="constantSummary"></a><div class="summarySection"><div class="summaryTableTitle">Public Constants</div><table cellspacing="0" cellpadding="3" class="summaryTable " id="summaryTableConstant"><tr><th>&nbsp;</th><th colspan="2">Constant</th><th class="summaryTableOwnerCol">Defined By</th></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ERROR_INCORRECT_FORMAT" class="signatureLink">ERROR_INCORRECT_FORMAT</a> : String = incorrectFormat<div class="summaryTableDescription">[static] </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ERROR_INVALID_CHAR" class="signatureLink">ERROR_
 INVALID_CHAR</a> : String = invalidChar<div class="summaryTableDescription">[static] </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ERROR_WRONG_FORMAT" class="signatureLink">ERROR_WRONG_FORMAT</a> : String = wrongFormat<div class="summaryTableDescription">[static] </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#ERROR_WRONG_LENGTH" class="signatureLink">ERROR_WRONG_LENGTH</a> : String = wrongLength<div class="summaryTableDescription">[static] </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td 
 class="summaryTableSignatureCol"><a href="#FORMAT_COUNTRY_CODE" class="signatureLink">FORMAT_COUNTRY_CODE</a> : String = C<div class="summaryTableDescription">[static] </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#FORMAT_LETTER" class="signatureLink">FORMAT_LETTER</a> : String = A<div class="summaryTableDescription">[static] </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#FORMAT_NUMBER" class="signatureLink">FORMAT_NUMBER</a> : String = N<div class="summaryTableDescription">[static] </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr><tr class=""><td class="summaryTablePaddingCol">&nbsp;</td><td class="
 summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a href="#FORMAT_SPACERS" class="signatureLink">FORMAT_SPACERS</a> : String =  -<div class="summaryTableDescription">[static] </div></td><td class="summaryTableOwnerCol">PostCodeValidator</td></tr></table></div><script language="javascript" type="text/javascript"><!--
+										showHideInherited();
+										--></script><div class="MainContent"><div class="detailSectionHeader">Property Detail</div><a name="propertyDetail"></a><a name="countryCode"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">countryCode</td><td class="detailHeaderType">property</td></tr></table><div class="detailBody"><code>countryCode:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  Optional 1 or 2 letter country code in postcode format
+	 
+	  </p><p> The default value is <code>null</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get countryCode():String</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set countryCode(value:String):void</code><br/></div><a name="propertyDetail"></a><a name="extraValidation"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">extraValidation</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public var extraValidation:Function</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpa
 dding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  extraValidation
+	 
+	 A user supplied method that perform further validation on a postcode.
+	 
+	 The user supplied method should  haver the following signature:
+	 <code>function validatePostcode(postcode:String):String</code>
+	 
+	 The method is passed the postcode to be validated and should
+	 return either:
+	 1. null indicating the postcode is valid
+	 2. A non empty string describing why the postcode is invalid
+	 
+	 The error string will be converted into a ValidationResult when
+	 doValidation is called by Flex as part of the normal validation
+	 process.
+	  
+	  </p></div><a name="propertyDetail"></a><a name="format"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">format</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>format:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  Format of postcode
+	  Format consists of C,N,A and spaces or hyphens
+	  CC or C is country code (required for some postcodes)
+	 N is a number 0-9
+	  A is a letter A-Z or a-z
+	 
+	  </p><p> The default value is <code>null</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get format():String</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set format(value:String):void</code><br/></div><a name="propertyDetail"></a><a name="formats"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">formats</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>formats:Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td sty
 le="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  Multiple postcode formats
+	  Sets an array of valid formats, use for locales
+	  where more than one poscode format exists. eg en_UK
+	  See format for details of teh postcode format.
+	 
+	  </p><p> The default value is <code>[]</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get formats():Array</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set formats(value:Array):void</code><br/></div><a name="propertyDetail"></a><a name="incorrectFormatError"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">incorrectFormatError</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>incorrectFormatError:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" 
 cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  Error message for an incorrect format string.
+	 
+	  </p><p> The default value is <code>"The postcode format string is incorrect"</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get incorrectFormatError():String</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set incorrectFormatError(value:String):void</code><br/></div><a name="propertyDetail"></a><a name="invalidCharError"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">invalidCharError</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>invalidCharError:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>
 ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+      Error message when the post code contains invalid characters.
+     
+      </p><p> The default value is <code>"The postcode code contains invalid characters."</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get invalidCharError():String</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set invalidCharError(value:String):void</code><br/></div><a name="propertyDetail"></a><a name="wrongFormatError"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">wrongFormatError</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>wrongFormatError:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><t
 d>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  Error message for an incorrectly formatted postcode.
+	 
+	  </p><p> The default value is <code>"The postcode code must be correctly formatted."</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get wrongFormatError():String</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set wrongFormatError(value:String):void</code><br/></div><a name="propertyDetail"></a><a name="wrongLengthError"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">wrongLengthError</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>wrongLengthError:String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>A
 pacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+      Error message for an invalid postcode.
+     
+      </p><p> The default value is <code>"The postcode is invalid."</code>.</p><br/><span class="label"> Implementation </span><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function get wrongLengthError():String</code><br/><code>&nbsp;&nbsp;&nbsp;&nbsp;public function set wrongLengthError(value:String):void</code><br/></div><a name="constructorDetail"></a><div class="detailSectionHeader">Constructor Detail</div><a name="PostCodeValidator()"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">PostCodeValidator</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">Constructor</td></tr></table><div class="detailBody"><code>public function PostCodeValidator()</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowr
 ap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p>
+      Constructor.
+      
+	  </p></div><a name="methodDetail"></a><div class="detailSectionHeader">Method Detail</div><a name="doValidation()"></a><a name="doValidation(Object)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">doValidation</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td></tr></table><div class="detailBody"><code>override protected function doValidation(value:Object):Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><
 p></p><p></p><p>
+      Override of the base class <code>doValidation()</code> method
+      to validate a postcode.
+     
+      <p>You do not call this method directly;
+      Flex calls it as part of performing a validation.
+      If you create a custom Validator class, you must implement this method. </p>
+     
+      </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">value</span>:Object</code> &mdash; Object to validate.
+     
+      </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Array</code> &mdash; An Array of ValidationResult objects, with one ValidationResult 
+      object for each field examined by the validator. 
+      
+	  </td></tr></table></div><a name="suggestCountryCode()"></a><a name="suggestCountryCode(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">suggestCountryCode</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function suggestCountryCode(locale:String = null):String</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p><
 /p><p></p><p> 
+	  Sets the suggested country code for postcodes for a
+	  given <code>locale</code>.
+	 
+	  If no locale is suplied the default locale is used.
+	 
+	  Currenly only a limited set of locales are supported.
+	 
+	  </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; locale to obtain country code for.
+	 
+	  </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>String</code> &mdash; The suggested code or an null string if the
+	  locale is not supported. 
+	  
+	  </td></tr></table></div><a name="suggestFormat()"></a><a name="suggestFormat(String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">suggestFormat</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public function suggestFormat(locale:String = null):Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p> 
+	  Sets the suggested format for postcodes for a
+	  given <code>locale</code>.
+	 
+	  If no locale is suplied the default locale is used.
+	 
+	  Currenly only a limited set of locales are supported.
+	 
+	  </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">locale</span>:String</code> (default = <code>null</code>)<code></code> &mdash; locale to obtain format for.
+	 
+	  </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Array</code> &mdash; The suggested format or an empty array if the
+	  locale is not supported. 
+	  
+	  </td></tr></table></div><a name="validatePostCode()"></a><a name="validatePostCode(mx.validators.PostCodeValidator,String,String)"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">validatePostCode</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code> public static function validatePostCode(validator:<a href="../../mx/validators/PostCodeValidator.html">PostCodeValidator</a>, postCode:String, baseField:String):Array</code><p></p><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Language Version :&nbsp;</b></td><td>ActionScript 3.0</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><tr><td style="white-space:nowrap" valign="top"><b> Product Version :&nbsp;</b></td><td>ApacheFlex 4.8</td></tr></table><table cellpadding="0" cellspacing="0" border="0"><t
 r><td style="white-space:nowrap" valign="top"><b> Runtime Versions :&nbsp;</b></td><td>AIR 1.0, Flash Player  10.2</td></tr></table><p></p><p></p><p>
+      Convenience method for calling a validator.
+      Each of the standard Flex validators has a similar convenience method.
+     
+      </p><p><span class="label"> Parameters </span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20px"></td><td><code><span class="label">validator</span>:<a href="../../mx/validators/PostCodeValidator.html">PostCodeValidator</a></code> &mdash; The PostCodeValidator instance.
+     
+      </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">postCode</span>:String</code> &mdash; A field to validate.
+     
+      </td></tr><tr><td class="paramSpacer">&nbsp;</td></tr><tr><td width="20px"></td><td><code><span class="label">baseField</span>:String</code> &mdash; Text representation of the subfield
+      specified in the <code>value</code> parameter.
+      For example, if the <code>value</code> parameter specifies value.postCode,
+      the <code>baseField</code> value is <code>"postCode"</code>.
+     
+      </td></tr></table></p><p></p><span class="label">Returns</span><table cellpadding="0" cellspacing="0" border="0"><tr><td width="20"></td><td><code>Array</code> &mdash; An Array of ValidationResult objects, with one ValidationResult 
+      object for each field examined by the validator. 
+     
+      </td></tr></table><p><span class="label">See also</span></p><div class="seeAlso">mx.validators.ValidationResult</div></div><div class="detailSectionHeader">Constant Detail</div><a name="constantDetail"></a><a name="ERROR_INCORRECT_FORMAT"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ERROR_INCORRECT_FORMAT</td><td class="detailHeaderType">Constant</td></tr></table><div class="detailBody"><code>public static const ERROR_INCORRECT_FORMAT:String = incorrectFormat</code><p></p></div><a name="constantDetail"></a><a name="ERROR_INVALID_CHAR"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ERROR_INVALID_CHAR</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const ERROR_INVALID_CHAR:String = invalidChar</code><p></p></div><a name="constantDetail"></a><a name="ERROR_WRONG_FORMAT"></a><tab
 le class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ERROR_WRONG_FORMAT</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const ERROR_WRONG_FORMAT:String = wrongFormat</code><p></p></div><a name="constantDetail"></a><a name="ERROR_WRONG_LENGTH"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">ERROR_WRONG_LENGTH</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const ERROR_WRONG_LENGTH:String = wrongLength</code><p></p></div><a name="constantDetail"></a><a name="FORMAT_COUNTRY_CODE"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">FORMAT_COUNTRY_CODE</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="deta
 ilBody"><code>public static const FORMAT_COUNTRY_CODE:String = C</code><p></p></div><a name="constantDetail"></a><a name="FORMAT_LETTER"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">FORMAT_LETTER</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const FORMAT_LETTER:String = A</code><p></p></div><a name="constantDetail"></a><a name="FORMAT_NUMBER"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">FORMAT_NUMBER</td><td class="detailHeaderType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const FORMAT_NUMBER:String = N</code><p></p></div><a name="constantDetail"></a><a name="FORMAT_SPACERS"></a><table class="detailHeader" cellpadding="0" cellspacing="0"><tr><td class="detailHeaderName">FORMAT_SPACERS</td><td class="detailHead
 erType">Constant</td><td class="detailHeaderRule">&nbsp;</td></tr></table><div class="detailBody"><code>public static const FORMAT_SPACERS:String =  -</code><p></p></div><br/><br/><hr><br/><p></p><center class="copyright"><footer></footer><br/>Mon Mar 12 2012, 10:59 AM +11:00  </center></div></body></html><!--<br/>Mon Mar 12 2012, 10:59 AM +11:00  -->
\ No newline at end of file



Mime
View raw message