TXMLObjectWriter class
Serializes an object instance using an XML storage format.
Declaration
TXMLObjectWriter = class(TAbstractObjectWriter)Inheritance
- TXMLObjectWriter
- 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
Doc | public | TDOMDocument used to create and store elements in the XML object writer. |
Methods
GetPropertyElement | protected | Gets a TDOMElement used to serialize a property using the specified type name. |
Create | public | Constructor for the class instance. |
BeginCollection | public | Starts serialization of a Collection using the XML format for the writer. |
BeginComponent | public | Starts serialization of a Component using the XML format for object writer. |
BeginList | public | Starts serialization of a list using the XML format for the writer. |
EndList | public | Finishes serialization of a list using the XML format for the writer. |
BeginProperty | public | Starts serialization for a property using the XML format for the object writer. |
EndProperty | public | Ends serialization for a property using the XML format for the writer. |
WriteBinary | public | Serializes a binary value from the specified buffer. |
WriteBoolean | public | Serializes a Boolean value using the XML format for the writer. |
WriteFloat | public | Serializes a floating point value using the XML format for the writer. |
WriteSingle | public | Serializes a Single value using the XML format for the writer. |
WriteCurrency | public | Serializes a Currency value using the XML format for the writer. |
WriteDate | public | Serializes a TDateTime value using the XML format for the writer. |
WriteIdent | public | Serializes an Identifier using the XML format for the writer. |
WriteInteger | public | Serializes an Integer value using the XML format for the object writer. |
WriteMethodName | public | Serializes the specified method name using the XML format for the object writer. |
WriteSet | public | Serializes a set values from the specified type using the XML format for the object writer. |
WriteString | public | Serializes a string value using the XML format for the object writer. |
WriteWideString | public | Serializes a wide string value using the XML format for the object writer. |
WriteSignature | public | Not needed for the XML format used in TXMLObjectWriter. |
WriteUInt64 | public | Serializes an Int64 value using the XML format for the object writer. |
WriteUnicodeString | public | Serializes an UnicodeString value using the XML format for the object writer. |
WriteVariant | public | Serializes a Variant value using the XML format for the object writer. |
Write | public | Raises an exception in the current LCL version. |
Inherited
From TAbstractObjectWriter (2)
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
