Sign in Join
FPDoc Onlineexperiment

TXMLObjectReader class

In unit Laz_XMLStreaming

De-serializes an object instance from its XML storage format.

Declaration

pascal
TXMLObjectReader = class(TAbstractObjectReader)

Inheritance

  1. TXMLObjectReader
  2. TAbstractObjectReader

Description

Nothing more than the line above yet.

See also

Properties

DocpublicTDomDocument instance with the XML content read in the object reader.
ElementpublicContains the DOM element currently being processed in the XML object reader.
ElementPositionpublicIndicates whether the object reader is processing an element name or its value.

Methods

CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
GetRootClassNamepublicGets the class name from the node which is the root element for the object instance.
NextValuepublicReads the value type for the next element in the XML DOM tree.
ReadValuepublicReads the value for the next element in the XML DOM tree after the value type has been read.
BeginRootComponentpublicLocates the DOM node for the component in the document element.
BeginComponentpublicGets the DOM element for the component, gets the class type and component name, and sets Element to the properties node.
BeginPropertypublicReads the property name from Element and prepares for the property value(s).
ReadBinarypublicReads a binary value from Element and stores it in the specified stream.
ReadFloatpublicReads a string value from Element and converts it to a floating point value.
ReadSinglepublicConverts a string value in Element to a Single data type.
ReadCurrencypublicConverts a string value in Element to a Currency data type.
ReadDatepublicReads a TDateTime value from the DOM Element.
ReadIdentpublicReads an Identifier from Element.
ReadInt8publicReads a ShortInt value from Element.
ReadInt16publicReads a SmallInt value from Element.
ReadInt32publicReads a LongInt value from Element.
ReadInt64publicReads an Int64 type from Element.
ReadSetpublicReads values for a set type from Element.
ReadStrpublicReads a String value from Element.
ReadStringpublicReads a string value from Element.
ReadWideStringpublicReads a WideString value from Element.
ReadSignaturepublicNot implemented and not needed in TXMLObjectReader.
ReadUnicodeStringpublicReads a UnicodeString value from Element.
SkipComponentpublicPositions the reader to the next sibling DOM node in Element.
SkipValuepublicReads and discards the value in Element.
ReadpublicRaises an exception in the current LCL implementation.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.