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

Yahoo! UI Library

+

dataschema  3.0.0

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

+ + + static + + Class DataSchema.Base + + + +

+ + +
+
Known Subclasses:
+
+ + DataSchema.XML + + + DataSchema.Array + + + DataSchema.JSON + + + DataSchema.Text + +
+
+ + + +
+ Base class for the YUI DataSchema Utility. +
+ + +
+ +
+ +
+
+

Methods

+
+
+

+ apply

+
+ + + static + + Object + apply + ( + + + schema + + + , + data + + + ) + + +
+ Overridable method returns data as-is. +
+ +
+ +
+
Parameters:
+
+ schema + <Object> + + Schema to apply. +
+
+ data + <Object> + + Data. +
+
+ +
+
Returns: + + Object +
+
Schema-parsed data.
+
+ + + + +
+ +
+
+
+
+

+ parse

+
+ + + + + Object + parse + ( + + + value + + + , + field + + + ) + + +
+ Applies field parser, if defined +
+ +
+ +
+
Parameters:
+
+ value + <Object> + + Original value. +
+
+ field + <Object> + + Field. +
+
+ +
+
Returns: + + Object +
+
Type-converted value.
+
+ + + + +
+ +
+
+
+
+
+ +
+ +
+ + +
+ +
+ +
+ +
+
+ +
+
+
+ Copyright © 2009 Yahoo! Inc. All rights reserved. +
+
+ + +