src/cm/media/js/lib/yui/yui_3.0.0b1/api/DataSchema.Array.html
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
     2 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
       
     3 <head>
       
     4     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
       
     5 	<title>API: dataschema  DataSchema.Array   (YUI Library)</title>
       
     6 
       
     7 	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
       
     8 	<link rel="stylesheet" type="text/css" href="assets/api.css" />
       
     9 
       
    10     <script type="text/javascript" src="assets/api-js"></script>
       
    11     <script type="text/javascript" src="assets/ac-js"></script>
       
    12 </head>
       
    13 
       
    14 <body id="yahoo-com">
       
    15 
       
    16 <div id="doc3" class="yui-t2">
       
    17 	<div id="hd">
       
    18         <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
       
    19         <h3>dataschema&nbsp; <span class="subtitle">3.0.0b1</span></h3>
       
    20         <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
       
    21             &gt; <a href="./module_dataschema.html" title="dataschema">dataschema</a>
       
    22                  &gt; DataSchema.Array 
       
    23                 
       
    24         <form onsubmit="return false">
       
    25             <div id="propertysearch">
       
    26                 Search: <input autocomplete="off" id="searchinput" />
       
    27                 <div id="searchresults">
       
    28                     &nbsp;
       
    29                 </div>
       
    30             </div>
       
    31         </form>
       
    32 	</div>
       
    33 
       
    34 	<div id="bd">
       
    35 		<div id="yui-main">
       
    36 			<div class="yui-b">
       
    37             <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
       
    38                 <fieldset>
       
    39                     <legend>Filters</legend>
       
    40                 <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
       
    41                 <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
       
    42                 <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
       
    43                 </fieldset>
       
    44             </form>
       
    45 
       
    46                     <h2>
       
    47                         
       
    48 
       
    49                         <code>static</code>
       
    50                         
       
    51                             Class <b property="yui:name">DataSchema.Array</b>
       
    52                         <span class="extends">
       
    53                            - extends <a href="DataSchema.Base.html" title="DataSchema.Base">DataSchema.Base</a>
       
    54                         </span>
       
    55 
       
    56                     </h2>
       
    57                     <!-- class tree goes here -->
       
    58                     
       
    59                 
       
    60   
       
    61 
       
    62                     <div class="summary description" property="yui:description">
       
    63                         Array subclass for the DataSchema Utility.
       
    64                     </div>
       
    65 
       
    66                     
       
    67                     <div rel="yui:properties" resource="#properties">
       
    68 
       
    69                     </div>
       
    70 
       
    71                     <div rel="yui:methods" resource="#methods">
       
    72                         <div class="section method details">
       
    73                             <h3 id="methods">Methods</h3>
       
    74                             <div class="content">
       
    75                                     <div class="protected" rel="yui:method" resource="#method__parseResults">
       
    76                                     <h4>
       
    77                                         <a name="method__parseResults">_parseResults</a></h4>
       
    78                                     <div class="detail" >
       
    79                                         <code>
       
    80                                          protected 
       
    81                                          static 
       
    82                                         
       
    83                                         Object
       
    84                                             <strong property="yui:name">_parseResults</strong>
       
    85                                            (
       
    86                                                 
       
    87                                                         
       
    88                                                          fields
       
    89                                                     
       
    90                                                 
       
    91                                                         , 
       
    92                                                          array_in
       
    93                                                     
       
    94                                                 
       
    95                                                         , 
       
    96                                                          data_out
       
    97                                                     
       
    98                                                 
       
    99                                             )
       
   100                                         </code>
       
   101                                         
       
   102                                         <div class="description" property="yui:description">
       
   103                                             Schema-parsed list of results from full data
       
   104                                         </div>
       
   105 
       
   106                                         <div class="description">
       
   107 
       
   108                                                 <dl rel="yui:parameters">
       
   109                                                     <dt>Parameters:</dt>
       
   110                                                         <dd rel="yui:parameter">
       
   111                                                         <code><span property="yui:name">fields</span>
       
   112                                                         &lt;<span property="yui:type">Array</span>&gt;
       
   113                                                         </code>
       
   114                                                         <span property="yui:description">  Schema to parse against.</span>
       
   115                                                         </dd>
       
   116                                                         <dd rel="yui:parameter">
       
   117                                                         <code><span property="yui:name">array_in</span>
       
   118                                                         &lt;<span property="yui:type">Array</span>&gt;
       
   119                                                         </code>
       
   120                                                         <span property="yui:description">  Array to parse.</span>
       
   121                                                         </dd>
       
   122                                                         <dd rel="yui:parameter">
       
   123                                                         <code><span property="yui:name">data_out</span>
       
   124                                                         &lt;<span property="yui:type">Object</span>&gt;
       
   125                                                         </code>
       
   126                                                         <span property="yui:description">  In-progress parsed data to update.</span>
       
   127                                                         </dd>
       
   128                                                 </dl>
       
   129 
       
   130                                                 <dl>
       
   131                                                     <dt>Returns:
       
   132                                                     <code property="yui:return">
       
   133                                                         Object
       
   134                                                     </code></dt>
       
   135                                                     <dd property="yui:returnInfo">Parsed data object.</dd>
       
   136                                                 </dl>
       
   137 
       
   138 
       
   139              
       
   140 
       
   141                                         </div>
       
   142 
       
   143                                     </div>
       
   144                                     <hr />
       
   145                                     </div>
       
   146                                     <div class="" rel="yui:method" resource="#method_apply">
       
   147                                     <h4>
       
   148                                         <a name="method_apply">apply</a></h4>
       
   149                                     <div class="detail" >
       
   150                                         <code>
       
   151                                         
       
   152                                          static 
       
   153                                         
       
   154                                         Object
       
   155                                             <strong property="yui:name">apply</strong>
       
   156                                            (
       
   157                                                 
       
   158                                                         
       
   159                                                          schema
       
   160                                                     
       
   161                                                 
       
   162                                                         , 
       
   163                                                          data
       
   164                                                     
       
   165                                                 
       
   166                                             )
       
   167                                         </code>
       
   168                                         
       
   169                                         <div class="description" property="yui:description">
       
   170                                             Applies a given schema to given Array data.
       
   171                                         </div>
       
   172 
       
   173                                         <div class="description">
       
   174 
       
   175                                                 <dl rel="yui:parameters">
       
   176                                                     <dt>Parameters:</dt>
       
   177                                                         <dd rel="yui:parameter">
       
   178                                                         <code><span property="yui:name">schema</span>
       
   179                                                         &lt;<span property="yui:type">Object</span>&gt;
       
   180                                                         </code>
       
   181                                                         <span property="yui:description">  Schema to apply.</span>
       
   182                                                         </dd>
       
   183                                                         <dd rel="yui:parameter">
       
   184                                                         <code><span property="yui:name">data</span>
       
   185                                                         &lt;<span property="yui:type">Object</span>&gt;
       
   186                                                         </code>
       
   187                                                         <span property="yui:description">  Array data.</span>
       
   188                                                         </dd>
       
   189                                                 </dl>
       
   190 
       
   191                                                 <dl>
       
   192                                                     <dt>Returns:
       
   193                                                     <code property="yui:return">
       
   194                                                         Object
       
   195                                                     </code></dt>
       
   196                                                     <dd property="yui:returnInfo">Schema-parsed data.</dd>
       
   197                                                 </dl>
       
   198 
       
   199 
       
   200              
       
   201 
       
   202                                         </div>
       
   203 
       
   204                                     </div>
       
   205                                     <hr />
       
   206                                     </div>
       
   207                             </div>
       
   208                         </div>
       
   209 
       
   210                         <div rel="yui:inheritance">                    
       
   211                             <div class="section field inheritance" rel="yui:superclass"  resource="DataSchema.Base.html">
       
   212                                 <h4>Methods inherited from <a href="DataSchema.Base.html" property="yui:name" title="DataSchema.Base">DataSchema.Base</a>:</h4>
       
   213                                 <div class="content" rel="yui:methods">
       
   214                                     <code>
       
   215                                             <span rel="yui:method" resource="DataSchema.Base.html#method_parse">                                        
       
   216                                             <a class="" href="DataSchema.Base.html#method_parse" property="yui:name" title="parse">parse</a>
       
   217                                             </span>
       
   218                                     </code>
       
   219                                 </div>
       
   220                             </div>
       
   221                         </div>
       
   222                     </div>
       
   223 
       
   224                     <div rel="yui:events" resource="#events">
       
   225 
       
   226 
       
   227                     </div>
       
   228 
       
   229                     <div rel="yui:attributes" resource="#configattributes">
       
   230 
       
   231                     </div>
       
   232 
       
   233 			</div>
       
   234 		</div>
       
   235 		<div class="yui-b">
       
   236             <div class="nav">
       
   237 
       
   238                     <div id="moduleList" class="module">
       
   239                         <h4>Modules</h4>
       
   240                         <ul class="content">
       
   241                                 <li class=""><a href="module_anim.html" title="anim">anim</a></li>
       
   242                                 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
       
   243                                 <li class=""><a href="module_base.html" title="base">base</a></li>
       
   244                                 <li class=""><a href="module_cache.html" title="cache">cache</a></li>
       
   245                                 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
       
   246                                 <li class=""><a href="module_collection.html" title="collection">collection</a></li>
       
   247                                 <li class=""><a href="module_console.html" title="console">console</a></li>
       
   248                                 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
       
   249                                 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
       
   250                                 <li class="selected"><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
       
   251                                 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
       
   252                                 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
       
   253                                 <li class=""><a href="module_dd.html" title="dd">dd</a></li>
       
   254                                 <li class=""><a href="module_dom.html" title="dom">dom</a></li>
       
   255                                 <li class=""><a href="module_dump.html" title="dump">dump</a></li>
       
   256                                 <li class=""><a href="module_event.html" title="event">event</a></li>
       
   257                                 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
       
   258                                 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
       
   259                                 <li class=""><a href="module_history.html" title="history">history</a></li>
       
   260                                 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
       
   261                                 <li class=""><a href="module_io.html" title="io">io</a></li>
       
   262                                 <li class=""><a href="module_json.html" title="json">json</a></li>
       
   263                                 <li class=""><a href="module_node.html" title="node">node</a></li>
       
   264                                 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
       
   265                                 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
       
   266                                 <li class=""><a href="module_oop.html" title="oop">oop</a></li>
       
   267                                 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
       
   268                                 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
       
   269                                 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
       
   270                                 <li class=""><a href="module_queue.html" title="queue">queue</a></li>
       
   271                                 <li class=""><a href="module_slider.html" title="slider">slider</a></li>
       
   272                                 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
       
   273                                 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
       
   274                                 <li class=""><a href="module_test.html" title="test">test</a></li>
       
   275                                 <li class=""><a href="module_widget.html" title="widget">widget</a></li>
       
   276                                 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
       
   277                                 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
       
   278                                 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
       
   279                                 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
       
   280                                 <li class=""><a href="module_yui.html" title="yui">yui</a></li>
       
   281                         </ul>
       
   282                     </div>
       
   283 
       
   284                     <div id="classList" class="module">
       
   285                         <h4>Classes</h4>
       
   286                         <ul class="content">
       
   287                                 <li class="selected"><a href="DataSchema.Array.html" title="DataSchema.Array">DataSchema.Array</a></li>
       
   288                                 <li class=""><a href="DataSchema.Base.html" title="DataSchema.Base">DataSchema.Base</a></li>
       
   289                                 <li class=""><a href="DataSchema.JSON.html" title="DataSchema.JSON">DataSchema.JSON</a></li>
       
   290                                 <li class=""><a href="DataSchema.Text.html" title="DataSchema.Text">DataSchema.Text</a></li>
       
   291                                 <li class=""><a href="DataSchema.XML.html" title="DataSchema.XML">DataSchema.XML</a></li>
       
   292                         </ul>
       
   293                     </div>
       
   294 
       
   295                     <div id="fileList" class="module">
       
   296                         <h4>Files</h4>
       
   297                         <ul class="content">        
       
   298                                 <li class=""><a href="dataschema-array.js.html" title="dataschema-array.js">dataschema-array.js</a></li>
       
   299                                 <li class=""><a href="dataschema-base.js.html" title="dataschema-base.js">dataschema-base.js</a></li>
       
   300                                 <li class=""><a href="dataschema-json.js.html" title="dataschema-json.js">dataschema-json.js</a></li>
       
   301                                 <li class=""><a href="dataschema-text.js.html" title="dataschema-text.js">dataschema-text.js</a></li>
       
   302                                 <li class=""><a href="dataschema-xml.js.html" title="dataschema-xml.js">dataschema-xml.js</a></li>
       
   303                         </ul>
       
   304                     </div>
       
   305 
       
   306 
       
   307                     <div id="methodsList" class="module">
       
   308                         <h4>Methods</h4>
       
   309                         <ul class="content">        
       
   310                                 <li class="protected"><a href="#method__parseResults" title="_parseResults">_parseResults</a></li>
       
   311                                 <li class=""><a href="#method_apply" title="apply">apply</a></li>
       
   312                         </ul>
       
   313                     </div>
       
   314 
       
   315 
       
   316 
       
   317             </div>
       
   318 		</div>
       
   319 	</div>
       
   320 	<div id="ft">
       
   321         <hr />
       
   322         Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
       
   323 	</div>
       
   324 </div>
       
   325 <script type="text/javascript">
       
   326     ALL_YUI_PROPS = [{"access": "", "host": "DataSchema.Text", "name": "apply", "url": "DataSchema.Text.html#method_apply", "type": "method"}, {"access": "", "host": "DataSchema.XML", "name": "apply", "url": "DataSchema.XML.html#method_apply", "type": "method"}, {"access": "", "host": "DataSchema.JSON", "name": "apply", "url": "DataSchema.JSON.html#method_apply", "type": "method"}, {"access": "", "host": "DataSchema.Base", "name": "apply", "url": "DataSchema.Base.html#method_apply", "type": "method"}, {"access": "", "host": "DataSchema.Array", "name": "apply", "url": "DataSchema.Array.html#method_apply", "type": "method"}, {"access": "", "host": "DataSchema.JSON", "name": "DataSchema.JSON.getLocationValue", "url": "DataSchema.JSON.html#method_DataSchema.JSON.getLocationValue", "type": "method"}, {"access": "", "host": "DataSchema.JSON", "name": "DataSchema.JSON.getPath", "url": "DataSchema.JSON.html#method_DataSchema.JSON.getPath", "type": "method"}, {"access": "protected", "host": "DataSchema.JSON", "name": "_getFieldValues", "url": "DataSchema.JSON.html#method__getFieldValues", "type": "method"}, {"access": "protected", "host": "DataSchema.XML", "name": "_getLocationValue", "url": "DataSchema.XML.html#method__getLocationValue", "type": "method"}, {"access": "", "host": "DataSchema.Base", "name": "parse", "url": "DataSchema.Base.html#method_parse", "type": "method"}, {"access": "protected", "host": "DataSchema.XML", "name": "_parseMeta", "url": "DataSchema.XML.html#method__parseMeta", "type": "method"}, {"access": "protected", "host": "DataSchema.JSON", "name": "_parseMeta", "url": "DataSchema.JSON.html#method__parseMeta", "type": "method"}, {"access": "protected", "host": "DataSchema.Text", "name": "_parseResults", "url": "DataSchema.Text.html#method__parseResults", "type": "method"}, {"access": "protected", "host": "DataSchema.XML", "name": "_parseResults", "url": "DataSchema.XML.html#method__parseResults", "type": "method"}, {"access": "protected", "host": "DataSchema.JSON", "name": "_parseResults", "url": "DataSchema.JSON.html#method__parseResults", "type": "method"}, {"access": "protected", "host": "DataSchema.Array", "name": "_parseResults", "url": "DataSchema.Array.html#method__parseResults", "type": "method"}];
       
   327 </script>
       
   328 </body>
       
   329 </html>