Module configuration :: Class NestedConfigurationBuilder
[hide private]
[frames] | no frames]

Class NestedConfigurationBuilder

source code

          object --+    
                   |    
ConfigurationBuilder --+
                       |
                      NestedConfigurationBuilder

Builder for building Configuration objects from nested configurations.

Instance Methods [hide private]
 
__init__(self, inputfile, configname='')
Initialization.
source code
 
getConfiguration(self)
Returns a ConfigurationSet object.
source code
 
getConfigurations(self, name=None, type=None)
Get a list of the individual configurations.
source code
 
getReferences(self) source code
 
parseConfiguration(self, configNode, configs, parentConfig=None)
Parse an individual nested configuration.
source code
 
getNodeByReference(self, refName)
Find a node based on a reference to it.
source code

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

Class Variables [hide private]
  _constructors = {'spec': Specification, 'config': NestedConfig...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, inputfile, configname='')
(Constructor)

source code 
Initialization.
Overrides: object.__init__

getConfiguration(self)

source code 

Returns a ConfigurationSet object.

A ConfigurationSet represents a number of Configuration objects that all may need to be processed.

Overrides: ConfigurationBuilder.getConfiguration

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

source code 

Get a list of the individual configurations.

Once read a new builder must be opened to retrieve a differently filtered set of configurations.


Class Variable Details [hide private]

_constructors

Value:
{'spec': Specification, 'config': NestedConfiguration}