mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-24 14:09:24 +02:00
434 lines
17 KiB
XML
434 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<fpdoc-descriptions>
|
|
<package name="lcl">
|
|
|
|
<!--
|
|
====================================================================
|
|
XMLPropStorage
|
|
====================================================================
|
|
-->
|
|
|
|
<module name="XMLPropStorage">
|
|
<short>Contains a component that stores Form Session Properties in XML format.</short>
|
|
<descr>
|
|
<p>In this unit you can find an implementation of a name/value pair storage container in XML format.</p>
|
|
<p>This container will get the Form's Session Properties that you setup in <link id="#LCL.Forms.TForm">TForm.SessionProperties</link> and read/write them on the file you specify on <link id="#LCL.XmlPropStorage.TXMLPropStorage.FileName">TXMLPropStorage.FileName</link>.</p>
|
|
</descr>
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="Classes">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- Classes -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="SysUtils">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- SysUtils -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="XMLConf">
|
|
<short>This unit contains the implementation of a path/value pair generic container in XML format.</short>
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- XMLConf -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="DOM">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- DOM -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="XMLRead">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- XMLRead -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="XMLWrite">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- XMLWrite -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="LCLProc">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- LCLProc -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="Forms">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- Forms -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="LazConfigStorage">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- LazConfigStorage -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="LazUTF8">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- LazUTF8 -->
|
|
|
|
<!-- unresolved type reference Visibility: default -->
|
|
<element name="LazUTF8Classes">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- LazUTF8Classes -->
|
|
|
|
<!-- object Visibility: default -->
|
|
<element name="TPropStorageXMLConfig">
|
|
<short>Wrapper class around <url href="http://wiki.freepascal.org/xmlconf">XMLConf</url>.<url href="http://wiki.freepascal.org/TXMLConfig">TXMLConfig</url>.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- object TPropStorageXMLConfig -->
|
|
|
|
<!-- procedure Visibility: public -->
|
|
<element name="TPropStorageXMLConfig.DeleteSubNodes">
|
|
<short>Deletes sub nodes on a path.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- procedure TPropStorageXMLConfig.DeleteSubNodes -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TPropStorageXMLConfig.DeleteSubNodes.ARootNode">
|
|
<short>The path of the node to have it's sub nodes deleted.</short>
|
|
</element> <!-- argument TPropStorageXMLConfig.DeleteSubNodes.ARootNode -->
|
|
|
|
<!-- procedure Visibility: public -->
|
|
<element name="TPropStorageXMLConfig.LoadFromStream">
|
|
<short>Loads XML content from a stream.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- procedure TPropStorageXMLConfig.LoadFromStream -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TPropStorageXMLConfig.LoadFromStream.s">
|
|
<short>The stream to load the XML content from.</short>
|
|
</element> <!-- argument TPropStorageXMLConfig.LoadFromStream.s -->
|
|
|
|
<!-- procedure Visibility: public -->
|
|
<element name="TPropStorageXMLConfig.SaveToStream">
|
|
<short>Saves XML content to a stream.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- procedure TPropStorageXMLConfig.SaveToStream -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TPropStorageXMLConfig.SaveToStream.s">
|
|
<short>The stream to save the XML content to.</short>
|
|
</element> <!-- argument TPropStorageXMLConfig.SaveToStream.s -->
|
|
|
|
<!-- property Visibility: public -->
|
|
<element name="TPropStorageXMLConfig.XMLDoc">
|
|
<short>Contains the XML document.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- property TPropStorageXMLConfig.XMLDoc -->
|
|
|
|
<!-- object Visibility: default -->
|
|
<element name="TCustomXMLPropStorage">
|
|
<short>Implements the base class for the XML Form's Session Properties Storage.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- object TCustomXMLPropStorage -->
|
|
|
|
<!-- variable Visibility: private -->
|
|
<element name="TCustomXMLPropStorage.FCount">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- variable TCustomXMLPropStorage.FCount -->
|
|
|
|
<!-- variable Visibility: private -->
|
|
<element name="TCustomXMLPropStorage.FFileName">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- variable TCustomXMLPropStorage.FFileName -->
|
|
|
|
<!-- variable Visibility: private -->
|
|
<element name="TCustomXMLPropStorage.FXML">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- variable TCustomXMLPropStorage.FXML -->
|
|
|
|
<!-- variable Visibility: private -->
|
|
<element name="TCustomXMLPropStorage.FRootNode">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- variable TCustomXMLPropStorage.FRootNode -->
|
|
|
|
<!-- variable Visibility: private -->
|
|
<element name="TCustomXMLPropStorage.FRootNodePath">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- variable TCustomXMLPropStorage.FRootNodePath -->
|
|
|
|
<!-- function Visibility: protected -->
|
|
<element name="TCustomXMLPropStorage.GetXMLFileName">
|
|
<short>Getter for the property <link id="#LCL.XmlPropStorage.TCustomXMLPropStorage.FileName">TCustomXMLPropStorage.FileName</link>.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- function TCustomXMLPropStorage.GetXMLFileName -->
|
|
|
|
<!-- function result Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.GetXMLFileName.Result">
|
|
<short>The current value of the property <link id="#LCL.XmlPropStorage.TCustomXMLPropStorage.FileName">TCustomXMLPropStorage.FileName</link>.</short>
|
|
</element> <!-- function result TCustomXMLPropStorage.GetXMLFileName.Result -->
|
|
|
|
<!-- function Visibility: protected -->
|
|
<element name="TCustomXMLPropStorage.RootSection">
|
|
<short>Returns the name of the RootSection.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- function TCustomXMLPropStorage.RootSection -->
|
|
|
|
<!-- function result Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.RootSection.Result">
|
|
<short>The current value of RootSection.</short>
|
|
</element> <!-- function result TCustomXMLPropStorage.RootSection.Result -->
|
|
|
|
<!-- function Visibility: protected -->
|
|
<element name="TCustomXMLPropStorage.FixPath">
|
|
<short>Turns '.' notation into '/' notation for the xpath-ish <url href="http://wiki.freepascal.org/xmlconf">XMLConf</url> underlayer.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- function TCustomXMLPropStorage.FixPath -->
|
|
|
|
<!-- function result Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.FixPath.Result">
|
|
<short>The fixed path is returned with '.' replaced by '/'.</short>
|
|
</element> <!-- function result TCustomXMLPropStorage.FixPath.Result -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.FixPath.APath">
|
|
<short>The path to be fixed.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.FixPath.APath -->
|
|
|
|
<!-- property Visibility: protected -->
|
|
<element name="TCustomXMLPropStorage.XMLConfig">
|
|
<short>Property to access the <link id="#LCL.XmlPropStorage.TPropStorageXMLConfig">TPropStorageXMLConfig</link>.</short>
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- property TCustomXMLPropStorage.XMLConfig -->
|
|
|
|
<!-- procedure Visibility: public -->
|
|
<element name="TCustomXMLPropStorage.StorageNeeded">
|
|
<short>Aks the underlying storage object for an entry</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- procedure TCustomXMLPropStorage.StorageNeeded -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.StorageNeeded.ReadOnly">
|
|
<short>If the item is read-only.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.StorageNeeded.ReadOnly -->
|
|
|
|
<!-- procedure Visibility: public -->
|
|
<element name="TCustomXMLPropStorage.FreeStorage">
|
|
<short>Frees an entry from the underlying storage object.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- procedure TCustomXMLPropStorage.FreeStorage -->
|
|
|
|
<!-- function Visibility: public -->
|
|
<element name="TCustomXMLPropStorage.DoReadString">
|
|
<short>Implements the actual reading of a value from the underlying storage container.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- function TCustomXMLPropStorage.DoReadString -->
|
|
|
|
<!-- function result Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.DoReadString.Result">
|
|
<short>The value of the section/ident requested.</short>
|
|
</element> <!-- function result TCustomXMLPropStorage.DoReadString.Result -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.DoReadString.Section">
|
|
<short>The section to be read.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.DoReadString.Section -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.DoReadString.Ident">
|
|
<short>The ident to be read.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.DoReadString.Ident -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.DoReadString.TheDefault">
|
|
<short>If has no value then return this as default.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.DoReadString.TheDefault -->
|
|
|
|
<!-- procedure Visibility: public -->
|
|
<element name="TCustomXMLPropStorage.DoWriteString">
|
|
<short>Implements the actual writing of a value from the underlying storage container.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- procedure TCustomXMLPropStorage.DoWriteString -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.DoWriteString.Section">
|
|
<short>The section to be written.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.DoWriteString.Section -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.DoWriteString.Ident">
|
|
<short>The ident to be written.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.DoWriteString.Ident -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.DoWriteString.Value">
|
|
<short>The value to be written.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.DoWriteString.Value -->
|
|
|
|
<!-- procedure Visibility: public -->
|
|
<element name="TCustomXMLPropStorage.DoEraseSections">
|
|
<short>Erases a section from the underlying storage container.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- procedure TCustomXMLPropStorage.DoEraseSections -->
|
|
|
|
<!-- argument Visibility: default -->
|
|
<element name="TCustomXMLPropStorage.DoEraseSections.ARootSection">
|
|
<short>The path to the section that will be erased.</short>
|
|
</element> <!-- argument TCustomXMLPropStorage.DoEraseSections.ARootSection -->
|
|
|
|
<!-- property Visibility: public -->
|
|
<element name="TCustomXMLPropStorage.FileName">
|
|
<short>Name of the file where the property data is saved in XML format.</short>
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- propert TCustomXMLPropStorage.FileName -->
|
|
|
|
<!-- property Visibility: public -->
|
|
<element name="TCustomXMLPropStorage.RootNodePath">
|
|
<short>Name of the root object path on your XML file.</short>
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- property TCustomXMLPropStorage.RootNodePath -->
|
|
|
|
<!-- object Visibility: default -->
|
|
<element name="TXMLPropStorage">
|
|
<short>Implements the final class for the XML Form Session Properties storage.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso>
|
|
<link id="#LCL.Forms.TForm">TForm.SessionProperties</link>
|
|
<link id="#LCL.INIPropStorage.TINIPropStorage">TINIPropStorage</link>
|
|
<link id="#LCL.JSONPropStorage.TJSONPropStorage">TJSONPropStorage</link>
|
|
</seealso>
|
|
</element> <!-- object TXMLPropStorage -->
|
|
|
|
<!-- property Visibility: published -->
|
|
<element name="TXMLPropStorage.StoredValues" link="#LCL.PropertyStorage.TCustomPropertyStorage.StoredValues">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- property TXMLPropStorage.StoredValues -->
|
|
|
|
<!-- property Visibility: published -->
|
|
<element name="TXMLPropStorage.FileName" link="#LCL.XmlPropStorage.TCustomXmlPropStorage.FileName">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- property TXMLPropStorage.FileName -->
|
|
|
|
<!-- property Visibility: published -->
|
|
<element name="TXMLPropStorage.RootNodePath" link="#LCL.XmlPropStorage.TCustomXmlPropStorage.RootNodePath">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- property TXMLPropStorage.RootNodePath -->
|
|
|
|
<!-- property Visibility: published -->
|
|
<element name="TXMLPropStorage.Active" link="#LCL.PropertyStorage.TCustomPropertyStorage.Active">
|
|
<short />
|
|
<descr />
|
|
<seealso />
|
|
</element> <!-- property TXMLPropStorage.Active -->
|
|
|
|
<!-- property Visibility: published -->
|
|
<element name="TXMLPropStorage.OnSavingProperties" link="#LCL.PropertyStorage.TCustomPropertyStorage.OnSavingProperties">
|
|
<short />
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- property TXMLPropStorage.OnSavingProperties -->
|
|
|
|
<!-- property Visibility: published -->
|
|
<element name="TXMLPropStorage.OnSaveProperties" link="#LCL.PropertyStorage.TCustomPropertyStorage.OnSaveProperties">
|
|
<short />
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- property TXMLPropStorage.OnSaveProperties -->
|
|
|
|
<!-- property Visibility: published -->
|
|
<element name="TXMLPropStorage.OnRestoringProperties" link="#LCL.PropertyStorage.TCustomPropertyStorage.OnRestoringProperties">
|
|
<short />
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- property TXMLPropStorage.OnRestoringProperties -->
|
|
|
|
<!-- property Visibility: published -->
|
|
<element name="TXMLPropStorage.OnRestoreProperties" link="#LCL.PropertyStorage.TCustomPropertyStorage.OnRestoreProperties">
|
|
<short />
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- property TXMLPropStorage.OnRestoreProperties -->
|
|
|
|
<!-- object Visibility: default -->
|
|
<element name="TXMLConfigStorage">
|
|
<short>This class is present on the source but seems not be used.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- object TXMLConfigStorage -->
|
|
|
|
<!-- procedure Visibility: default -->
|
|
<element name="Register">
|
|
<short>Registers <link id="#LCL.XmlPropStorage.TXMLPropStorage">TXMLPropStorage</link> on the 'Misc' tab of the component pallete.</short>
|
|
<descr />
|
|
<errors />
|
|
<seealso />
|
|
</element> <!-- procedure Register -->
|
|
|
|
</module> <!-- moduleXMLPropStorage -->
|
|
</package> <!-- package lcl -->
|
|
</fpdoc-descriptions>
|