[Overview][Classes][Procedures and functions][Index] Reference for unit 'XMLPropStorage' (#lcl)

TCustomXMLPropStorage

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements the base class for the XML Form's Session Properties Storage.

Declaration

Source position: xmlpropstorage.pas line 38

type TCustomXMLPropStorage = class(TFormPropertyStorage) end;

protected

  function GetXMLFileName; virtual;

  

Getter for the property TCustomXMLPropStorage.FileName.

  function RootSection; override;

  

Returns the name of the RootSection.

  function FixPath(); virtual;

  

Turns '.' notation into '/' notation for the xpath-ish XMLConf underlayer.

  property XMLConfig: TPropStorageXMLConfig; [r]

  

Property to access the TPropStorageXMLConfig.

public

  procedure StorageNeeded(); override;

  

Aks the underlying storage object for an entry

  procedure FreeStorage; override;

  

Frees an entry from the underlying storage object.

  function DoReadString(); override;

  

Implements the actual reading of a value from the underlying storage container.

  procedure DoWriteString(); override;

  

Implements the actual writing of a value from the underlying storage container.

  procedure DoEraseSections(); override;

  

Erases a section from the underlying storage container.

  property FileName: string; [rw]

  

Name of the file where the property data is saved in XML format.

  property RootNodePath: string; [rw]

  

Name of the root object path on your XML file.

Inheritance

TCustomXMLPropStorage

  

Implements the base class for the XML Form's Session Properties Storage.

|

TFormPropertyStorage

  

TFormPropertyStorage - class for storage of a Form's properties

|

TControlPropertyStorage

  

|

TCustomPropertyStorage

  

Provides abstract means to Save/Restore properties.

|

TComponent

?

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.