Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.XmlWriter.Config Class Reference

More...

Inheritance diagram for Ext.Net.XmlWriter.Config:
Ext.Net.AbstractWriter.Config Ext.Net.BaseItem.Config Ext.Net.IApply

Static Public Member Functions

static implicit operator XmlWriter.Builder (XmlWriter.Config config)
 
- Static Public Member Functions inherited from Ext.Net.BaseItem.Config
static Config Deserialize (string config)
 
static TConfig Deserialize< TConfig > (string config)
 

Properties

virtual string DefaultDocumentRoot [get, set]
 The root to be used if documentRoot is empty and a root is required to form a valid XML document. More...
 
virtual string DocumentRoot [get, set]
 The name of the root element of the document. Defaults to 'xmlData'. If there is more than 1 record and the root is not specified, the default document root will still be used to ensure a valid XML document is created. More...
 
virtual string Header [get, set]
 A header to use in the XML document (such as setting the encoding or version). Defaults to ''. More...
 
virtual string Record [get, set]
 The name of the node to use for each record. Defaults to 'record'. More...
 
- Properties inherited from Ext.Net.AbstractWriter.Config
DataOptions AllDataOptions [get]
 This object contains the options passed to Ext.data.Model.getData when writing Ext.data.Model.phantom records or when writeAllFields is set to true. More...
 
virtual string NameProperty [get, set]
 This property is used to read the key for each value that will be sent to the server. More...
 
virtual bool WriteAllFields [get, set]
 True to write all fields from the record to the server. If set to false it will only send the fields that were modified. Defaults to false. More...
 
JFunction GetRecordData [get]
 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. More...
 
JFunction FilterRecord [get]
 
JFunction FilterField [get]
 
JFunction Prepare [get]
 
virtual bool ExcludeId [get, set]
 
virtual bool SkipIdForPhantomRecords [get, set]
 
virtual bool SkipPhantomId [get, set]
 
virtual bool HtmlEncode [get, set]
 Configure true to encode html in record data before sending More...
 
virtual string ClientIdProperty [get, set]
 When specified this property causes the Ext.data.Model.idProperty of newly created records to be sent to the server as this name instead of the value of the idProperty. More...
 
virtual string DateFormat [get, set]
 
DataOptions PartialDataOptions [get]
 This object contains the options passed to Ext.data.Model.getData when writing non Ext.data.Model.phantom records or when writeAllFields is set to false. More...
 
TransformFunction Transform [get]
 If a transform function is set, it will be invoked just before writeRecords executes. It is passed the unserialized data object and the request object. The transform function returns a data object, which can be a modified version of the original data object, or a completely new data object. The transform can be a function, or an object with a 'fn' key and an optional 'scope' key. More...
 
virtual bool WriteRecordId [get, set]
 

Additional Inherited Members

- Public Member Functions inherited from Ext.Net.BaseItem.Config
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
new Type GetType ()
 
object ApplyIf (object obj)
 
Apply< T > (object obj)
 
object Apply (object obj)
 
virtual string Serialize ()
 

Detailed Description

Member Function Documentation

◆ operator XmlWriter.Builder()

static implicit Ext.Net.XmlWriter.Config.operator XmlWriter.Builder ( XmlWriter.Config  config)
inlinestatic

Property Documentation

◆ DefaultDocumentRoot

virtual string Ext.Net.XmlWriter.Config.DefaultDocumentRoot
getset

The root to be used if documentRoot is empty and a root is required to form a valid XML document.

◆ DocumentRoot

virtual string Ext.Net.XmlWriter.Config.DocumentRoot
getset

The name of the root element of the document. Defaults to 'xmlData'. If there is more than 1 record and the root is not specified, the default document root will still be used to ensure a valid XML document is created.

◆ Header

virtual string Ext.Net.XmlWriter.Config.Header
getset

A header to use in the XML document (such as setting the encoding or version). Defaults to ''.

◆ Record

virtual string Ext.Net.XmlWriter.Config.Record
getset

The name of the node to use for each record. Defaults to 'record'.


The documentation for this class was generated from the following file: