Yahoo! UI Library

dataschema  3.0.0

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:


Copyright © 2009 Yahoo! Inc. All rights reserved.