diff -r 000000000000 -r 40c8f766c9b8 src/cm/media/js/lib/yui/yui_3.0.0b1/api/DataSchema.Text.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.0.0b1/api/DataSchema.Text.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,329 @@ + + + + + API: dataschema DataSchema.Text (YUI Library) + + + + + + + + + + +
+
+

Yahoo! UI Library

+

dataschema  3.0.0b1

+ Yahoo! UI Library + > dataschema + > DataSchema.Text + +
+
+ Search: +
+   +
+
+
+
+ +
+
+
+
+
+ Filters + + + +
+
+ +

+ + + static + + Class DataSchema.Text + + - extends DataSchema.Base + + +

+ + + + + +
+ Text subclass for the DataSchema Utility. +
+ + +
+ +
+ +
+
+

Methods

+
+
+

+ _parseResults

+
+ + protected + static + + Object + _parseResults + ( + + + schema + + + , + text_in + + + , + data_out + + + ) + + +
+ Schema-parsed list of results from full data +
+ +
+ +
+
Parameters:
+
+ schema + <Array> + + Schema to parse against. +
+
+ text_in + <String> + + Text to parse. +
+
+ data_out + <Object> + + In-progress parsed data to update. +
+
+ +
+
Returns: + + Object +
+
Parsed data object.
+
+ + + + +
+ +
+
+
+
+

+ apply

+
+ + + static + + Object + apply + ( + + + schema + + + , + data + + + ) + + +
+ Applies a given schema to given delimited text data. +
+ +
+ +
+
Parameters:
+
+ schema + <Object> + + Schema to apply. +
+
+ data + <Object> + + Text data. +
+
+ +
+
Returns: + + Object +
+
Schema-parsed data.
+
+ + + + +
+ +
+
+
+
+
+ +
+
+

Methods inherited from DataSchema.Base:

+
+ + + parse + + +
+
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +