diff -r 7685cec9fd3c -r f2ddfa555b0f doc/api/python/configuration.ConfigurationSet-class.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/api/python/configuration.ConfigurationSet-class.html Fri Sep 11 11:54:49 2009 +0100 @@ -0,0 +1,333 @@ + + + + + configuration.ConfigurationSet + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Module configuration :: + Class ConfigurationSet + + + + + + +
[hide private]
[frames] | no frames]
+
+ +

Class ConfigurationSet

source code

+
+            object --+    
+                     |    
+UserDict.DictMixin --+    
+                     |    
+         Configuration --+
+                         |
+                        ConfigurationSet
+
+ +
+

A ConfigurationSet represents a set of configurations.

+

Each configuration should be processed separately. This is matching +the Raptor model where a single XML file can contain definitions +of multiple specifications and configurations.

+

It is however somewhat different from the Commons Configuration classes +that combine configurations, e.g. CombinedConfiguration, +CompositeConfiguration. These act to combine configurations in a way +such that a single configuration interface is still presented to the +client.



+ + + + + + + + + + + + + + + + +
+ + + + + +
Instance Methods[hide private]
+
+   + + + + + + +
__init__(self, + configs)
+ Initialization.
+ source code + +
+ +
+   + + + + + + +
getConfigurations(self, + name=None, + type=None)
+ Return a list of configs that matches the name and type specified.
+ source code + +
+ +
+

Inherited from Configuration: + __delitem__, + __getitem__, + __setitem__, + __str__, + get, + get_boolean, + get_int, + get_list, + interpolate, + keys, + match_name +

+

Inherited from object: + __delattr__, + __getattribute__, + __hash__, + __new__, + __reduce__, + __reduce_ex__, + __repr__, + __setattr__ +

+

Inherited from UserDict.DictMixin: + __cmp__, + __contains__, + __iter__, + __len__, + clear, + has_key, + items, + iteritems, + iterkeys, + itervalues, + pop, + popitem, + setdefault, + update, + values +

+
+ + + + + + + + + +
+ + + + + +
Class Variables[hide private]
+
+

Inherited from Configuration: + key_re +

+
+ + + + + + + + + +
+ + + + + +
Properties[hide private]
+
+

Inherited from object: + __class__ +

+
+ + + + + + +
+ + + + + +
Method Details[hide private]
+
+ +
+ +
+ + +
+

__init__(self, + configs) +
(Constructor) +

+
source code  +
+ + Initialization. +
+
Overrides: + Configuration.__init__ +
+
+
+
+ +
+ +
+ + +
+

getConfigurations(self, + name=None, + type=None) +

+
source code  +
+ +

Return a list of configs that matches the name and type specified.

+

This can be queried multiple times to retrieve different named configurations.

+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + + +