mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 10:39:18 +02:00
Docs: LazUtils/laz_xmlstreaming. Adds and updates topics for changes in cbf9d30ddf
.
* TXMLObjectWriterString * TXMLObjectWriter.WriteString
This commit is contained in:
parent
89aefec06a
commit
a50d7d1dba
@ -34,6 +34,28 @@ Extended by Mattias Gaertner:
|
||||
<element name="Laz2_DOM"/>
|
||||
<element name="Laz2_XMLWrite"/>
|
||||
|
||||
<element name="TXMLObjectWriterString">
|
||||
<short>
|
||||
Compiler version-specific alias for String values used in TXMLObjectWriter.
|
||||
</short>
|
||||
<descr>
|
||||
<p>
|
||||
<var>TXMLObjectWriterString</var> is the type passed as an argument to the
|
||||
WriteString method in TXMLObjectWriter.
|
||||
</p>
|
||||
<p>
|
||||
For FPC version 3.3.1 and later, it is an alias to the RawByteString type. For
|
||||
previous FPC versions, it is an alias to the String type.
|
||||
</p>
|
||||
</descr>
|
||||
<version>
|
||||
Added in LazUtils version 3.0.
|
||||
</version>
|
||||
<seealso>
|
||||
<link id="TXMLObjectWriter.WriteString"/>
|
||||
</seealso>
|
||||
</element>
|
||||
|
||||
<element name="TXMLObjectWriterStackElType">
|
||||
<short>
|
||||
Represents element types used in stack elements for an XML object writer.
|
||||
@ -438,11 +460,30 @@ object writer.
|
||||
<short>
|
||||
Serializes a string value using the XML format for the object writer.
|
||||
</short>
|
||||
<descr/>
|
||||
<seealso/>
|
||||
<descr>
|
||||
<p>
|
||||
<var>WriteString</var> is an overridden method in <var>TXMLObjectWriter</var>
|
||||
used to store the specified string value to the XML storage format used in the
|
||||
writer class. WriteString calls GetPropertyElement to get or create a
|
||||
TDOMElement stack entry where the Value argument is stored. In the
|
||||
TDOMElement, the string value is stored in a tag with the name 'string' using
|
||||
the 'value' attribute to store the passed value.
|
||||
</p>
|
||||
<p>
|
||||
WriteString implements the abstract virtual method defined in
|
||||
TAbstractObjectWriter.
|
||||
</p>
|
||||
</descr>
|
||||
<version>
|
||||
Modified in LazUtils version 3.0 to use the TXMLObjectWriterString type
|
||||
instead of the String type in the Value argument.
|
||||
</version>
|
||||
<seealso>
|
||||
<link id="#rtl.classes.TAbstractObjectWriter">TAbstractObjectWriter</link>
|
||||
</seealso>
|
||||
</element>
|
||||
<element name="TXMLObjectWriter.WriteString.Value">
|
||||
<short>String value written in the method.</short>
|
||||
<short>String value stored in the method.</short>
|
||||
</element>
|
||||
|
||||
<element name="TXMLObjectWriter.WriteWideString">
|
||||
|
Loading…
Reference in New Issue
Block a user