[Overview][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Serializes an object instance using an XML storage format.
Source position: laz_xmlstreaming.pas line 48
type TXMLObjectWriter = class(TAbstractObjectWriter) |
||
protected |
||
function GetPropertyElement(); |
|
Gets a TDOMElement used to serialize a property using the specified type name. |
public |
||
constructor Create(); |
|
Constructor for the class instance. |
procedure BeginCollection; override; |
|
Starts serialization of a Collection using the XML format for the writer. |
procedure BeginComponent(); override; |
|
Starts serialization of a Component using the XML format for object writer. |
procedure BeginList; override; |
|
Starts serialization of a list using the XML format for the writer. |
procedure EndList; override; |
|
Finishes serialization of a list using the XML format for the writer. |
procedure BeginProperty(); override; |
|
Starts serialization for a property using the XML format for the object writer. |
procedure EndProperty; override; |
|
Ends serialization for a property using the XML format for the writer. |
procedure WriteBinary(); override; |
|
Serializes a binary value from the specified buffer. |
procedure WriteBoolean(); override; |
|
Serializes a Boolean value using the XML format for the writer. |
procedure WriteFloat(); override; |
|
Serializes a floating point value using the XML format for the writer. |
procedure WriteSingle(); override; |
|
Serializes a Single value using the XML format for the writer. |
procedure WriteCurrency(); override; |
|
Serializes a Currency value using the XML format for the writer. |
procedure WriteDate(); override; |
|
Serializes a TDateTime value using the XML format for the writer. |
procedure WriteIdent(); override; |
|
Serializes an Identifier using the XML format for the writer. |
procedure WriteInteger(); override; |
|
Serializes an Integer value using the XML format for the object writer. |
procedure WriteMethodName(); override; |
|
Serializes the specified method name using the XML format for the object writer. |
procedure WriteSet(); override; |
|
Serializes a set values from the specified type using the XML format for the object writer. |
procedure WriteString(); override; |
|
Serializes a string value using the XML format for the object writer. |
procedure WriteWideString(); override; |
|
Serializes a wide string value using the XML format for the object writer. |
procedure WriteSignature; override; |
|
Not needed for the XML format used in TXMLObjectWriter. |
procedure WriteUInt64(); override; |
|
Serializes an Int64 value using the XML format for the object writer. |
procedure WriteUnicodeString(); override; |
|
Serializes an UnicodeString value using the XML format for the object writer. |
procedure WriteVariant(); override; |
|
Serializes a Variant value using the XML format for the object writer. |
procedure Write(); override; |
|
Raises an exception in the current LCL version. |
property Doc: TDOMDocument; [r] |
|
TDOMDocument used to create and store elements in the XML object writer. |
end; |
|
Serializes an object instance using an XML storage format. |
|
| | ||
| | ||
TXMLObjectWriter is a TAbstractObjectWriter descendant which implements an object serialization writer using XML as the storage format. TXMLObjectWriter implements abstract methods defined in the ancestor class, and provides access to the DOM document and the DOM Node tree used to store values generated in the class instance. It maintains an internal stack used to capture and process the hierarchical node tree needed to represent a class instance.
|
De-serializes an object instance from its XML storage format. |
|
Version 4.0 | Generated 2025-05-03 | Home |