Lines Matching refs:field
44 is extracted with the field identifiers described in _schema.resultFields_.
52 desired field data (String)
57 * `schema` : Used to retrieve nested field data into an array for
58 assignment as the result field value. This object follows the same
62 (strings) instead of field identifiers (objects) -- see example below.
65 The keys are the field identifier `key`s, and the values are the data
66 values extracted from the nodes or attributes found by the field `locator`
135 * Get an XPath-specified value for a given field from an XML node or document.
138 * @param field {String | Object} Field definition.
144 _getLocationValue: function(field, context) {
145 var locator = field.locator || field.key || field,
162 return Y.DataSchema.Base.parse.call(this, value, field);
265 * Schema-parsed result field.
268 * @param field {String | Object} Required. Field definition.
274 _parseField: function(field, result, context) {
275 var key = field.key || field,
278 if (field.schema) {
280 parsed = SchemaXML._parseResults(field.schema, context, parsed);
284 result[key] = SchemaXML._getLocationValue(field, context);
316 * @param fields {Array} Required. A collection of field definition.
325 // Find each field value