Writer XmlWriter
Package: | Ext.data |
Defined In: | XmlWriter.js |
Class: | XmlWriter |
Extends: | Writer |
Writer that outputs model data in XML format
Config Options | Defined By | |
---|---|---|
documentRoot : String The name of the root element of the document. Defaults to 'xmlData'. | XmlWriter | |
header : String A header to use in the XML document (such as setting the encoding or version).
Defaults to ''. | XmlWriter | |
record : String The name of the node to use for each record. Defaults to 'record'. | XmlWriter |
Method | Defined By | |
---|---|---|
getRecordData( Object record )
:
ObjectFormats the data for each record before sending it to the server. This
method should be overridden to format the data... Formats the data for each record before sending it to the server. This
method should be overridden to format the data in a way that differs from the default. Parameters:
| Writer | |
write( Ext.data.Request request )
:
Ext.data.RequestPrepares a Proxy's Ext.data.Request object Prepares a Proxy's Ext.data.Request object Parameters:
| Writer |