Clear Up
SharpKit Reference

Xml Class

Namespace: Ext.data.reader

Base Types

System.Object

Constructors

Name Description
Xml(XmlConfig)
Xml()

Properties

Name Description
alias
alternateClassName
extend

Methods

Name Description
createAccessor(JsString) @private Creates a function to return some particular key of data from a response. The totalProperty and successProperty are treated as special cases for type casting, everything else is just a simple selector. @param {String} key @return {Function}
extractData(object) @private We're just preparing the data for the superclass by pulling out the record nodes we want @param {XMLElement} root The XML root node @return {Ext.data.Model[]} The records
getAssociatedDataRoot(object, JsString) @private See Ext.data.reader.Reader's getAssociatedDataRoot docs @param {Object} data The raw data object @param {String} associationName The name of the association to get data for (uses associationKey if present) @return {XMLElement} The root
getData(object) Normalizes the data object @param {Object} data The raw data object @return {Object} Returns the documentElement property of the data object if present, or the same object if not
getNodeValue(object)
getResponseData(object)
getRoot(object) @private Given an XML object, returns the Element that represents the root as configured by the Reader's meta data @param {Object} data The XML data object @return {XMLElement} The root node element
readRecords(object) Parses an XML document and returns a ResultSet containing the model instances @param {Object} doc Parsed XML document @return {Ext.data.ResultSet} The parsed result set
© Copyright 2005-2011 SharpKit. All rights reserved.