XmlWriter.js
资源名称:ext-3.0.0.zip [点击查看]
上传用户:shuoshiled
上传日期:2018-01-28
资源大小:10124k
文件大小:1k
源码类别:
中间件编程
开发平台:
JavaScript
- /*!
- * Ext JS Library 3.0.0
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
- /**
- * @class Ext.data.XmlWriter
- * @extends Ext.data.DataWriter
- * DataWriter extension for writing an array or single {@link Ext.data.Record} object(s) in preparation for executing a remote CRUD action via XML.
- */
- Ext.data.XmlWriter = Ext.extend(Ext.data.DataWriter, {
- /**
- * Final action of a write event. Apply the written data-object to params.
- * @param {String} action [Ext.data.Api.create|read|update|destroy]
- * @param {Record[]} rs
- * @param {Object} http params
- * @param {Object} data object populated according to DataReader meta-data "root" and "idProperty"
- */
- render : function(action, rs, params, data) {
- // no impl.
- },
- /**
- * createRecord
- * @param {Ext.data.Record} rec
- */
- createRecord : function(rec) {
- // no impl
- },
- /**
- * updateRecord
- * @param {Ext.data.Record} rec
- */
- updateRecord : function(rec) {
- // no impl.
- },
- /**
- * destroyRecord
- * @param {Ext.data.Record} rec
- */
- destroyRecord : function(rec) {
- // no impl
- }
- });