| changeset 0 | 40c8f766c9b8 |
| -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: datasource datasource-textschema.js (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>datasource <span class="subtitle">3.0.0b1</span></h3> |
|
20 <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
21 > <a href="./module_datasource.html" title="datasource">datasource</a> |
|
22 |
|
23 > datasource-textschema.js (source view) |
|
24 <form onsubmit="return false"> |
|
25 <div id="propertysearch"> |
|
26 Search: <input autocomplete="off" id="searchinput" /> |
|
27 <div id="searchresults"> |
|
28 |
|
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 <div id="srcout"> |
|
47 <style> |
|
48 #doc3 .classopts { display:none; } |
|
49 </style> |
|
50 <div class="highlight" ><pre><span class="c">/**</span> |
|
51 <span class="c"> * Extends DataSource with schema-parsing on text data.</span> |
|
52 <span class="c"> *</span> |
|
53 <span class="c"> * @module datasource</span> |
|
54 <span class="c"> * @submodule datasource-textschema</span> |
|
55 <span class="c"> */</span> |
|
56 |
|
57 <span class="c">/**</span> |
|
58 <span class="c"> * Adds schema-parsing to the DataSource Utility.</span> |
|
59 <span class="c"> * @class DataSourceTextSchema</span> |
|
60 <span class="c"> * @extends Plugin.Base</span> |
|
61 <span class="c"> */</span> |
|
62 <span class="k">var</span> <span class="nx">DataSourceTextSchema</span> <span class="o">=</span> <span class="k">function</span><span class="o">()</span> <span class="o">{</span> |
|
63 <span class="nx">DataSourceTextSchema</span><span class="o">.</span><span class="nx">superclass</span><span class="o">.</span><span class="nx">constructor</span><span class="o">.</span><span class="nx">apply</span><span class="o">(</span><span class="k">this</span><span class="o">,</span> <span class="nx">arguments</span><span class="o">);</span> |
|
64 <span class="o">};</span> |
|
65 |
|
66 <span class="nx">Y</span><span class="o">.</span><span class="nx">mix</span><span class="o">(</span><span class="nx">DataSourceTextSchema</span><span class="o">,</span> <span class="o">{</span> |
|
67 <span class="c">/**</span> |
|
68 <span class="c"> * The namespace for the plugin. This will be the property on the host which</span> |
|
69 <span class="c"> * references the plugin instance.</span> |
|
70 <span class="c"> *</span> |
|
71 <span class="c"> * @property NS</span> |
|
72 <span class="c"> * @type String</span> |
|
73 <span class="c"> * @static</span> |
|
74 <span class="c"> * @final</span> |
|
75 <span class="c"> * @value "schema"</span> |
|
76 <span class="c"> */</span> |
|
77 <span class="nx">NS</span><span class="o">:</span> <span class="s2">"schema"</span><span class="o">,</span> |
|
78 |
|
79 <span class="c">/**</span> |
|
80 <span class="c"> * Class name.</span> |
|
81 <span class="c"> *</span> |
|
82 <span class="c"> * @property NAME</span> |
|
83 <span class="c"> * @type String</span> |
|
84 <span class="c"> * @static</span> |
|
85 <span class="c"> * @final</span> |
|
86 <span class="c"> * @value "dataSourceTextSchema"</span> |
|
87 <span class="c"> */</span> |
|
88 <span class="nx">NAME</span><span class="o">:</span> <span class="s2">"dataSourceTextSchema"</span><span class="o">,</span> |
|
89 |
|
90 <span class="c">/////////////////////////////////////////////////////////////////////////////</span> |
|
91 <span class="c"></span> <span class="c">//</span> |
|
92 <span class="c"></span> <span class="c">// DataSourceTextSchema Attributes</span> |
|
93 <span class="c"></span> <span class="c">//</span> |
|
94 <span class="c"></span> <span class="c">/////////////////////////////////////////////////////////////////////////////</span> |
|
95 <span class="c"></span> |
|
96 <span class="nx">ATTRS</span><span class="o">:</span> <span class="o">{</span> |
|
97 <span class="nx">schema</span><span class="o">:</span> <span class="o">{</span> |
|
98 <span class="c">//value: {}</span> |
|
99 <span class="c"></span> <span class="o">}</span> |
|
100 <span class="o">}</span> |
|
101 <span class="o">});</span> |
|
102 |
|
103 <span class="nx">Y</span><span class="o">.</span><span class="nx">extend</span><span class="o">(</span><span class="nx">DataSourceTextSchema</span><span class="o">,</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Plugin</span><span class="o">.</span><span class="nx">Base</span><span class="o">,</span> <span class="o">{</span> |
|
104 <span class="c">/**</span> |
|
105 <span class="c"> * Internal init() handler.</span> |
|
106 <span class="c"> *</span> |
|
107 <span class="c"> * @method initializer</span> |
|
108 <span class="c"> * @param config {Object} Config object.</span> |
|
109 <span class="c"> * @private</span> |
|
110 <span class="c"> */</span> |
|
111 <span class="nx">initializer</span><span class="o">:</span> <span class="k">function</span><span class="o">(</span><span class="nx">config</span><span class="o">)</span> <span class="o">{</span> |
|
112 <span class="k">this</span><span class="o">.</span><span class="nx">doBefore</span><span class="o">(</span><span class="s2">"_defDataFn"</span><span class="o">,</span> <span class="k">this</span><span class="o">.</span><span class="nx">_beforeDefDataFn</span><span class="o">);</span> |
|
113 <span class="o">},</span> |
|
114 |
|
115 <span class="c">/**</span> |
|
116 <span class="c"> * Parses raw data into a normalized response.</span> |
|
117 <span class="c"> *</span> |
|
118 <span class="c"> * @method _beforeDefDataFn</span> |
|
119 <span class="c"> * <dl></span> |
|
120 <span class="c"> * <dt>tId (Number)</dt> <dd>Unique transaction ID.</dd></span> |
|
121 <span class="c"> * <dt>request (Object)</dt> <dd>The request.</dd></span> |
|
122 <span class="c"> * <dt>callback (Object)</dt> <dd>The callback object with the following properties:</span> |
|
123 <span class="c"> * <dl></span> |
|
124 <span class="c"> * <dt>success (Function)</dt> <dd>Success handler.</dd></span> |
|
125 <span class="c"> * <dt>failure (Function)</dt> <dd>Failure handler.</dd></span> |
|
126 <span class="c"> * </dl></span> |
|
127 <span class="c"> * </dd></span> |
|
128 <span class="c"> * <dt>data (Object)</dt> <dd>Raw data.</dd></span> |
|
129 <span class="c"> * </dl></span> |
|
130 <span class="c"> * @protected</span> |
|
131 <span class="c"> */</span> |
|
132 <span class="nx">_beforeDefDataFn</span><span class="o">:</span> <span class="k">function</span><span class="o">(</span><span class="nx">e</span><span class="o">)</span> <span class="o">{</span> |
|
133 <span class="k">var</span> <span class="nx">data</span> <span class="o">=</span> <span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">DataSource</span><span class="o">.</span><span class="nx">IO</span> <span class="o">&&</span> <span class="o">(</span><span class="k">this</span><span class="o">.</span><span class="nx">get</span><span class="o">(</span><span class="s2">"host"</span><span class="o">)</span> <span class="k">instanceof</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">DataSource</span><span class="o">.</span><span class="nx">IO</span><span class="o">)</span> <span class="o">&&</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Lang</span><span class="o">.</span><span class="nx">isString</span><span class="o">(</span><span class="nx">e</span><span class="o">.</span><span class="nx">data</span><span class="o">.</span><span class="nx">responseText</span><span class="o">))</span> <span class="o">?</span> <span class="nx">e</span><span class="o">.</span><span class="nx">data</span><span class="o">.</span><span class="nx">responseText</span> <span class="o">:</span> <span class="nx">e</span><span class="o">.</span><span class="nx">data</span><span class="o">,</span> |
|
134 <span class="nx">response</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">DataSchema</span><span class="o">.</span><span class="nx">Text</span><span class="o">.</span><span class="nx">apply</span><span class="o">(</span><span class="k">this</span><span class="o">.</span><span class="nx">get</span><span class="o">(</span><span class="s2">"schema"</span><span class="o">),</span> <span class="nx">data</span><span class="o">);</span> |
|
135 |
|
136 <span class="c">// Default</span> |
|
137 <span class="c"></span> <span class="k">if</span><span class="o">(!</span><span class="nx">response</span><span class="o">)</span> <span class="o">{</span> |
|
138 <span class="nx">response</span> <span class="o">=</span> <span class="o">{</span> |
|
139 <span class="nx">meta</span><span class="o">:</span> <span class="o">{},</span> |
|
140 <span class="nx">results</span><span class="o">:</span> <span class="nx">data</span> |
|
141 <span class="o">};</span> |
|
142 <span class="o">}</span> |
|
143 |
|
144 <span class="k">this</span><span class="o">.</span><span class="nx">get</span><span class="o">(</span><span class="s2">"host"</span><span class="o">).</span><span class="nx">fire</span><span class="o">(</span><span class="s2">"response"</span><span class="o">,</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">mix</span><span class="o">({</span><span class="nx">response</span><span class="o">:</span><span class="nx">response</span><span class="o">},</span> <span class="nx">e</span><span class="o">));</span> |
|
145 <span class="k">return</span> <span class="k">new</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Do</span><span class="o">.</span><span class="nx">Halt</span><span class="o">(</span><span class="s2">"DataSourceTextSchema plugin halted _defDataFn"</span><span class="o">);</span> |
|
146 <span class="o">}</span> |
|
147 <span class="o">});</span> |
|
148 |
|
149 <span class="nx">Y</span><span class="o">.</span><span class="nx">namespace</span><span class="o">(</span><span class="s1">'Plugin'</span><span class="o">).</span><span class="nx">DataSourceTextSchema</span> <span class="o">=</span> <span class="nx">DataSourceTextSchema</span><span class="o">;</span> |
|
150 </pre></div> |
|
151 </div> |
|
152 </div> |
|
153 </div> |
|
154 <div class="yui-b"> |
|
155 <div class="nav"> |
|
156 |
|
157 <div id="moduleList" class="module"> |
|
158 <h4>Modules</h4> |
|
159 <ul class="content"> |
|
160 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
161 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
162 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
163 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
164 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
165 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
166 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
167 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
168 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
169 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
170 <li class="selected"><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
171 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
172 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
173 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
174 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
175 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
176 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
177 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
178 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
179 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
180 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
181 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
182 <li class=""><a href="module_node.html" title="node">node</a></li> |
|
183 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
184 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
185 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
186 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
187 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
188 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
189 <li class=""><a href="module_queue.html" title="queue">queue</a></li> |
|
190 <li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
191 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
192 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
193 <li class=""><a href="module_test.html" title="test">test</a></li> |
|
194 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
195 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
196 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
197 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
198 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
199 <li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
200 </ul> |
|
201 </div> |
|
202 |
|
203 <div id="classList" class="module"> |
|
204 <h4>Classes</h4> |
|
205 <ul class="content"> |
|
206 <li class=""><a href="DataSource.Function.html" title="DataSource.Function">DataSource.Function</a></li> |
|
207 <li class=""><a href="DataSource.Get.html" title="DataSource.Get">DataSource.Get</a></li> |
|
208 <li class=""><a href="DataSource.IO.html" title="DataSource.IO">DataSource.IO</a></li> |
|
209 <li class=""><a href="DataSource.Local.html" title="DataSource.Local">DataSource.Local</a></li> |
|
210 <li class=""><a href="DataSourceArraySchema.html" title="DataSourceArraySchema">DataSourceArraySchema</a></li> |
|
211 <li class=""><a href="DataSourceCache.html" title="DataSourceCache">DataSourceCache</a></li> |
|
212 <li class=""><a href="DataSourceJSONSchema.html" title="DataSourceJSONSchema">DataSourceJSONSchema</a></li> |
|
213 <li class=""><a href="DataSourceTextSchema.html" title="DataSourceTextSchema">DataSourceTextSchema</a></li> |
|
214 <li class=""><a href="DataSourceXMLSchema.html" title="DataSourceXMLSchema">DataSourceXMLSchema</a></li> |
|
215 <li class=""><a href="Pollable.html" title="Pollable">Pollable</a></li> |
|
216 </ul> |
|
217 </div> |
|
218 |
|
219 <div id="fileList" class="module"> |
|
220 <h4>Files</h4> |
|
221 <ul class="content"> |
|
222 <li class=""><a href="datasource-arrayschema.js.html" title="datasource-arrayschema.js">datasource-arrayschema.js</a></li> |
|
223 <li class=""><a href="datasource-cache.js.html" title="datasource-cache.js">datasource-cache.js</a></li> |
|
224 <li class=""><a href="datasource-function.js.html" title="datasource-function.js">datasource-function.js</a></li> |
|
225 <li class=""><a href="datasource-get.js.html" title="datasource-get.js">datasource-get.js</a></li> |
|
226 <li class=""><a href="datasource-io.js.html" title="datasource-io.js">datasource-io.js</a></li> |
|
227 <li class=""><a href="datasource-jsonschema.js.html" title="datasource-jsonschema.js">datasource-jsonschema.js</a></li> |
|
228 <li class=""><a href="datasource-local.js.html" title="datasource-local.js">datasource-local.js</a></li> |
|
229 <li class=""><a href="datasource-polling.js.html" title="datasource-polling.js">datasource-polling.js</a></li> |
|
230 <li class="selected"><a href="datasource-textschema.js.html" title="datasource-textschema.js">datasource-textschema.js</a></li> |
|
231 <li class=""><a href="datasource-xmlschema.js.html" title="datasource-xmlschema.js">datasource-xmlschema.js</a></li> |
|
232 </ul> |
|
233 </div> |
|
234 |
|
235 |
|
236 |
|
237 |
|
238 |
|
239 </div> |
|
240 </div> |
|
241 </div> |
|
242 <div id="ft"> |
|
243 <hr /> |
|
244 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
245 </div> |
|
246 </div> |
|
247 <script type="text/javascript"> |
|
248 ALL_YUI_PROPS = [{"access": "", "host": "DataSource.Get", "name": "asyncMode", "url": "DataSource.Get.html#config_asyncMode", "type": "config"}, {"access": "", "host": "DataSource.Get", "name": "asyncModeChange", "url": "DataSource.Get.html#event_asyncModeChange", "type": "event"}, {"access": "protected", "host": "DataSourceArraySchema", "name": "_beforeDefDataFn\n<dl>\n<dt>tId (Number)<\/dt> <dd>Unique transaction ID.<\/dd>\n<dt>request (Object)<\/dt> <dd>The request.<\/dd>\n<dt>callback (Object)<\/dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)<\/dt> <dd>Success handler.<\/dd>\n<dt>failure (Function)<\/dt> <dd>Failure handler.<\/dd>\n<\/dl>\n<\/dd>\n<dt>data (Object)<\/dt> <dd>Raw data.<\/dd>\n<\/dl>", "url": "DataSourceArraySchema.html#method__beforeDefDataFn\n<dl>\n<dt>tId (Number)<\/dt> <dd>Unique transaction ID.<\/dd>\n<dt>request (Object)<\/dt> <dd>The request.<\/dd>\n<dt>callback (Object)<\/dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)<\/dt> <dd>Success handler.<\/dd>\n<dt>failure (Function)<\/dt> <dd>Failure handler.<\/dd>\n<\/dl>\n<\/dd>\n<dt>data (Object)<\/dt> <dd>Raw data.<\/dd>\n<\/dl>", "type": "method"}, {"access": "protected", "host": "DataSourceXMLSchema", "name": "_beforeDefDataFn\n<dl>\n<dt>tId (Number)<\/dt> <dd>Unique transaction ID.<\/dd>\n<dt>request (Object)<\/dt> <dd>The request.<\/dd>\n<dt>callback (Object)<\/dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)<\/dt> <dd>Success handler.<\/dd>\n<dt>failure (Function)<\/dt> <dd>Failure handler.<\/dd>\n<\/dl>\n<\/dd>\n<dt>data (Object)<\/dt> <dd>Raw data.<\/dd>\n<\/dl>", "url": "DataSourceXMLSchema.html#method__beforeDefDataFn\n<dl>\n<dt>tId (Number)<\/dt> <dd>Unique transaction ID.<\/dd>\n<dt>request (Object)<\/dt> <dd>The request.<\/dd>\n<dt>callback (Object)<\/dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)<\/dt> <dd>Success handler.<\/dd>\n<dt>failure (Function)<\/dt> <dd>Failure handler.<\/dd>\n<\/dl>\n<\/dd>\n<dt>data (Object)<\/dt> <dd>Raw data.<\/dd>\n<\/dl>", "type": "method"}, {"access": "protected", "host": "DataSourceJSONSchema", "name": "_beforeDefDataFn\n<dl>\n<dt>tId (Number)<\/dt> <dd>Unique transaction ID.<\/dd>\n<dt>request (Object)<\/dt> <dd>The request.<\/dd>\n<dt>callback (Object)<\/dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)<\/dt> <dd>Success handler.<\/dd>\n<dt>failure (Function)<\/dt> <dd>Failure handler.<\/dd>\n<\/dl>\n<\/dd>\n<dt>data (Object)<\/dt> <dd>Raw data.<\/dd>\n<\/dl>", "url": "DataSourceJSONSchema.html#method__beforeDefDataFn\n<dl>\n<dt>tId (Number)<\/dt> <dd>Unique transaction ID.<\/dd>\n<dt>request (Object)<\/dt> <dd>The request.<\/dd>\n<dt>callback (Object)<\/dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)<\/dt> <dd>Success handler.<\/dd>\n<dt>failure (Function)<\/dt> <dd>Failure handler.<\/dd>\n<\/dl>\n<\/dd>\n<dt>data (Object)<\/dt> <dd>Raw data.<\/dd>\n<\/dl>", "type": "method"}, {"access": "protected", "host": "DataSourceTextSchema", "name": "_beforeDefDataFn\n<dl>\n<dt>tId (Number)<\/dt> <dd>Unique transaction ID.<\/dd>\n<dt>request (Object)<\/dt> <dd>The request.<\/dd>\n<dt>callback (Object)<\/dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)<\/dt> <dd>Success handler.<\/dd>\n<dt>failure (Function)<\/dt> <dd>Failure handler.<\/dd>\n<\/dl>\n<\/dd>\n<dt>data (Object)<\/dt> <dd>Raw data.<\/dd>\n<\/dl>", "url": "DataSourceTextSchema.html#method__beforeDefDataFn\n<dl>\n<dt>tId (Number)<\/dt> <dd>Unique transaction ID.<\/dd>\n<dt>request (Object)<\/dt> <dd>The request.<\/dd>\n<dt>callback (Object)<\/dt> <dd>The callback object with the following properties:\n<dl>\n<dt>success (Function)<\/dt> <dd>Success handler.<\/dd>\n<dt>failure (Function)<\/dt> <dd>Failure handler.<\/dd>\n<\/dl>\n<\/dd>\n<dt>data (Object)<\/dt> <dd>Raw data.<\/dd>\n<\/dl>", "type": "method"}, {"access": "protected", "host": "DataSourceCache", "name": "_beforeDefRequestFn", "url": "DataSourceCache.html#method__beforeDefRequestFn", "type": "method"}, {"access": "protected", "host": "DataSourceCache", "name": "_beforeDefResponseFn", "url": "DataSourceCache.html#method__beforeDefResponseFn", "type": "method"}, {"access": "", "host": "DataSource.Get", "name": "callbacks", "url": "DataSource.Get.html#property_callbacks", "type": "property"}, {"access": "", "host": "Pollable", "name": "clearAllIntervals", "url": "Pollable.html#method_clearAllIntervals", "type": "method"}, {"access": "", "host": "Pollable", "name": "clearInterval", "url": "Pollable.html#method_clearInterval", "type": "method"}, {"access": "", "host": "DataSource.Local", "name": "data", "url": "DataSource.Local.html#event_data", "type": "event"}, {"access": "", "host": "DataSource.Local", "name": "DataSource.issueCallback", "url": "DataSource.Local.html#method_DataSource.issueCallback", "type": "method"}, {"access": "private", "host": "DataSource.Local", "name": "DataSource._tId", "url": "DataSource.Local.html#property_DataSource._tId", "type": "property"}, {"access": "protected", "host": "DataSource.Local", "name": "_defDataFn", "url": "DataSource.Local.html#method__defDataFn", "type": "method"}, {"access": "protected", "host": "DataSource.Get", "name": "_defRequestFn", "url": "DataSource.Get.html#method__defRequestFn", "type": "method"}, {"access": "protected", "host": "DataSource.Function", "name": "_defRequestFn", "url": "DataSource.Function.html#method__defRequestFn", "type": "method"}, {"access": "protected", "host": "DataSource.IO", "name": "_defRequestFn", "url": "DataSource.IO.html#method__defRequestFn", "type": "method"}, {"access": "protected", "host": "DataSource.Local", "name": "_defRequestFn", "url": "DataSource.Local.html#method__defRequestFn", "type": "method"}, {"access": "protected", "host": "DataSource.Local", "name": "_defResponseFn", "url": "DataSource.Local.html#method__defResponseFn", "type": "method"}, {"access": "", "host": "DataSource.Local", "name": "error", "url": "DataSource.Local.html#event_error", "type": "event"}, {"access": "", "host": "DataSource.Get", "name": "generateRequestCallback", "url": "DataSource.Get.html#config_generateRequestCallback", "type": "config"}, {"access": "", "host": "DataSource.Get", "name": "generateRequestCallbackChange", "url": "DataSource.Get.html#event_generateRequestCallbackChange", "type": "event"}, {"access": "", "host": "DataSource.Get", "name": "get", "url": "DataSource.Get.html#config_get", "type": "config"}, {"access": "", "host": "DataSource.Get", "name": "getChange", "url": "DataSource.Get.html#event_getChange", "type": "event"}, {"access": "private", "host": "DataSource.Local", "name": "_initEvents", "url": "DataSource.Local.html#method__initEvents", "type": "method"}, {"access": "private", "host": "DataSourceArraySchema", "name": "initializer", "url": "DataSourceArraySchema.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSourceXMLSchema", "name": "initializer", "url": "DataSourceXMLSchema.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSourceJSONSchema", "name": "initializer", "url": "DataSourceJSONSchema.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSource.IO", "name": "initializer", "url": "DataSource.IO.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSource.Local", "name": "initializer", "url": "DataSource.Local.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSourceCache", "name": "initializer", "url": "DataSourceCache.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataSourceTextSchema", "name": "initializer", "url": "DataSourceTextSchema.html#method_initializer", "type": "method"}, {"access": "private", "host": "Pollable", "name": "_intervals", "url": "Pollable.html#property__intervals", "type": "property"}, {"access": "", "host": "DataSource.IO", "name": "io", "url": "DataSource.IO.html#config_io", "type": "config"}, {"access": "", "host": "DataSource.IO", "name": "ioChange", "url": "DataSource.IO.html#event_ioChange", "type": "event"}, {"access": "", "host": "DataSource.Get", "name": "NAME", "url": "DataSource.Get.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSource.Function", "name": "NAME", "url": "DataSource.Function.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceArraySchema", "name": "NAME", "url": "DataSourceArraySchema.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceXMLSchema", "name": "NAME", "url": "DataSourceXMLSchema.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceJSONSchema", "name": "NAME", "url": "DataSourceJSONSchema.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSource.IO", "name": "NAME", "url": "DataSource.IO.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSource.Local", "name": "NAME", "url": "DataSource.Local.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceCache", "name": "NAME", "url": "DataSourceCache.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceTextSchema", "name": "NAME", "url": "DataSourceTextSchema.html#property_NAME", "type": "property"}, {"access": "", "host": "DataSourceArraySchema", "name": "NS", "url": "DataSourceArraySchema.html#property_NS", "type": "property"}, {"access": "", "host": "DataSourceXMLSchema", "name": "NS", "url": "DataSourceXMLSchema.html#property_NS", "type": "property"}, {"access": "", "host": "DataSourceJSONSchema", "name": "NS", "url": "DataSourceJSONSchema.html#property_NS", "type": "property"}, {"access": "", "host": "DataSourceCache", "name": "NS", "url": "DataSourceCache.html#property_NS", "type": "property"}, {"access": "", "host": "DataSourceTextSchema", "name": "NS", "url": "DataSourceTextSchema.html#property_NS", "type": "property"}, {"access": "private", "host": "DataSource.IO", "name": "_queue", "url": "DataSource.IO.html#property__queue", "type": "property"}, {"access": "", "host": "DataSource.Local", "name": "request", "url": "DataSource.Local.html#event_request", "type": "event"}, {"access": "", "host": "DataSource.Local", "name": "response", "url": "DataSource.Local.html#event_response", "type": "event"}, {"access": "", "host": "DataSource.Get", "name": "scriptCallbackParam", "url": "DataSource.Get.html#config_scriptCallbackParam", "type": "config"}, {"access": "", "host": "DataSource.Get", "name": "scriptCallbackParamChange", "url": "DataSource.Get.html#event_scriptCallbackParamChange", "type": "event"}, {"access": "", "host": "DataSource.Local", "name": "sendRequest", "url": "DataSource.Local.html#method_sendRequest", "type": "method"}, {"access": "", "host": "Pollable", "name": "setInterval", "url": "Pollable.html#method_setInterval", "type": "method"}, {"access": "", "host": "DataSource.Function", "name": "source", "url": "DataSource.Function.html#config_source", "type": "config"}, {"access": "", "host": "DataSource.Local", "name": "source", "url": "DataSource.Local.html#config_source", "type": "config"}, {"access": "", "host": "DataSource.Function", "name": "sourceChange", "url": "DataSource.Function.html#event_sourceChange", "type": "event"}, {"access": "", "host": "DataSource.Local", "name": "sourceChange", "url": "DataSource.Local.html#event_sourceChange", "type": "event"}, {"access": "private", "host": "DataSource.Get", "name": "_tId", "url": "DataSource.Get.html#property__tId", "type": "property"}]; |
|
249 </script> |
|
250 </body> |
|
251 </html> |