Public Member Functions | |
| nsISupportsArray | getItems () |
| List of configuration items. | |
| boolean | hasValue (in AString name) |
| Return if configuration exists. | |
| boolean | addValue (in AString name, in AString value) |
| Add value. | |
| void | deleteItem (in AString name) |
| Delete Item. | |
| AString | getValue (in AString name) |
| Return configuration value. | |
| boolean | setValue (in AString name, in AString value) |
| Set value. | |
| AString | expandVariables (in AString value) |
| Expand variables. | |
Domain specific configuration. Object can be used to access domain configuration. If requested value is not member of the domain configuration it will be returned/set in shared configuration.
| boolean addValue | ( | in AString | name, | |
| in AString | value | |||
| ) |
Add value.
Add item and value to the configuration.
| name | Name of the new item | |
| value | New value |
| void deleteItem | ( | in AString | name | ) |
Delete Item.
Delete item from this configuration object.
| name | Name of the deleted item |
| AString expandVariables | ( | in AString | value | ) |
Expand variables.
Function will expand variables in the string. Variables are written like VARIABLE%.
List of available variables:
| nsISupportsArray getItems | ( | ) |
List of configuration items.
List contains strings - name of items
| AString getValue | ( | in AString | name | ) |
Return configuration value.
Return domain specific value for given configuration. If value is not found in the domain configuration method return value from shared configuration.
| name | Name of the item |
| boolean hasValue | ( | in AString | name | ) |
Return if configuration exists.
| name | Name of the item. |
| boolean setValue | ( | in AString | name, | |
| in AString | value | |||
| ) |
Set value.
Set value of existing configuration.
| name | Name of the item | |
| value | New value |