Sign in Join
FPDoc Onlineexperiment

TXMLObjectWriter class

In unit Laz_XMLStreaming

Serializes an object instance using an XML storage format.

Declaration

pascal
TXMLObjectWriter = class(TAbstractObjectWriter)

Inheritance

  1. TXMLObjectWriter
  2. TAbstractObjectWriter

Description

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.

See also

Properties

DocpublicTDOMDocument used to create and store elements in the XML object writer.

Methods

GetPropertyElementprotectedGets a TDOMElement used to serialize a property using the specified type name.
CreatepublicConstructor for the class instance.
BeginCollectionpublicStarts serialization of a Collection using the XML format for the writer.
BeginComponentpublicStarts serialization of a Component using the XML format for object writer.
BeginListpublicStarts serialization of a list using the XML format for the writer.
EndListpublicFinishes serialization of a list using the XML format for the writer.
BeginPropertypublicStarts serialization for a property using the XML format for the object writer.
EndPropertypublicEnds serialization for a property using the XML format for the writer.
WriteBinarypublicSerializes a binary value from the specified buffer.
WriteBooleanpublicSerializes a Boolean value using the XML format for the writer.
WriteFloatpublicSerializes a floating point value using the XML format for the writer.
WriteSinglepublicSerializes a Single value using the XML format for the writer.
WriteCurrencypublicSerializes a Currency value using the XML format for the writer.
WriteDatepublicSerializes a TDateTime value using the XML format for the writer.
WriteIdentpublicSerializes an Identifier using the XML format for the writer.
WriteIntegerpublicSerializes an Integer value using the XML format for the object writer.
WriteMethodNamepublicSerializes the specified method name using the XML format for the object writer.
WriteSetpublicSerializes a set values from the specified type using the XML format for the object writer.
WriteStringpublicSerializes a string value using the XML format for the object writer.
WriteWideStringpublicSerializes a wide string value using the XML format for the object writer.
WriteSignaturepublicNot needed for the XML format used in TXMLObjectWriter.
WriteUInt64publicSerializes an Int64 value using the XML format for the object writer.
WriteUnicodeStringpublicSerializes an UnicodeString value using the XML format for the object writer.
WriteVariantpublicSerializes a Variant value using the XML format for the object writer.
WritepublicRaises an exception in the current LCL version.

Inherited

From TAbstractObjectWriter (2)

FlushBuffer WriteDouble

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.