Namespace: Consultingwerk.Framework
Class 
XmlConfigurationProvider Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.IConfigurationProvider

File:XmlConfigurationProvider
Purpose:Configuration provider based on a XML file
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Aug 28 17:42:30 CEST 2013



Top Method Summary
Options Name Purpose
+ CHARACTER GetNames () Returns a Character Array with all the configuration data names
+ CHARACTER GetValue (character) Returns a configuration setting
+ CHARACTER GetValue (character, character) Returns a configuration setting or the default value when the setting is not available

Top Constructor Summary
Options Name Purpose
+ XmlConfigurationProvider (character) Constructor for the XmlConfigurationProvider class


Method Detail
Top

PUBLIC CHARACTER GetNames ()

Purpose: Returns a Character Array with all the configuration data names
Notes:

Returns CHARACTER
The ABL Character Array
Top

PUBLIC CHARACTER GetValue (character)

Purpose: Returns a configuration setting
Notes:

Parameters:
pcName CHARACTER
The configuration property name
Returns CHARACTER
The value for the configuration property or ? when not set
Top

PUBLIC CHARACTER GetValue (character, character)

Purpose: Returns a configuration setting or the default value when the setting
is not available
Notes:

Parameters:
pcName CHARACTER
The configuration property name
pcDefault CHARACTER
The default value to return when the setting is not available
Returns CHARACTER
The value for the configuration property


Constructor Detail
Top

PUBLIC XmlConfigurationProvider (character)

Purpose: Constructor for the XmlConfigurationProvider class
Notes:

Parameters:
pcFileName CHARACTER
The file name to read configuration data from


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:19