Class XDLSSerializableBase
Inheritance
System.Object
XDLSSerializableBase
Implements
Namespace: Syncfusion.DocIO.DLS.XML
Assembly: Syncfusion.DocIO.Portable.dll
Syntax
public abstract class XDLSSerializableBase : OwnerHolder, IXDLSSerializable
Constructors
XDLSSerializableBase(WordDocument, Entity)
Initializes a new instance of the XDLSSerializableBase class.
Declaration
protected XDLSSerializableBase(WordDocument doc, Entity entity)
Parameters
Type | Name | Description |
---|---|---|
WordDocument | doc | The doc. |
Entity | entity | The entity. |
Properties
XDLSHolder
Declaration
protected XDLSHolder XDLSHolder { get; }
Property Value
Type |
---|
XDLSHolder |
Methods
CloneImpl()
Clones itself.
Declaration
protected virtual object CloneImpl()
Returns
Type | Description |
---|---|
System.Object | Returns cloned object. |
InitXDLSHolder()
Registers child objects in XDSL holder.
Declaration
protected virtual void InitXDLSHolder()
ReadXmlAttributes(IXDLSAttributeReader)
Reads object data from xml attributes.
Declaration
protected virtual void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader | The IXDLSAttributeReader object. |
ReadXmlContent(IXDLSContentReader)
Reads object data from xml attributes.
Declaration
protected virtual bool ReadXmlContent(IXDLSContentReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSContentReader | reader | The IXDLSContentReader object. |
Returns
Type | Description |
---|---|
System.Boolean | The value indicating the presence of xml content. |
RestoreReference(String, Int32)
Declaration
protected virtual void RestoreReference(string name, int index)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | index |
WriteXmlAttributes(IXDLSAttributeWriter)
Writes object data as xml attributes.
Declaration
protected virtual void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer | The IXDLSAttributeWriter object. |
WriteXmlContent(IXDLSContentWriter)
Writes object data as inside xml element.
Declaration
protected virtual void WriteXmlContent(IXDLSContentWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSContentWriter | writer | The IXDLSContentWriter object. |
Explicit Interface Implementations
IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
Declaration
void IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader |
IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
Declaration
bool IXDLSSerializable.ReadXmlContent(IXDLSContentReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSContentReader | reader |
Returns
Type |
---|
System.Boolean |
IXDLSSerializable.RestoreReference(String, Int32)
Declaration
void IXDLSSerializable.RestoreReference(string name, int value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | value |
IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
Declaration
void IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer |
IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
Declaration
void IXDLSSerializable.WriteXmlContent(IXDLSContentWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSContentWriter | writer |
IXDLSSerializable.XDLSHolder
Declaration
XDLSHolder IXDLSSerializable.XDLSHolder { get; }
Returns
Type |
---|
XDLSHolder |