Trees | Index | Help |
---|
Package flumotion :: Package common :: Module registry :: Class RegistryParser |
|
Loggable
--+
|
RegistryParser
Registry parser
I have two modes, one to parse registries and another one to parse standalone component files.
For parsing registries use the parseRegistry function and for components use parseRegistryFile.
I also have a list of all components and directories which the directory use (instead of saving its own copy)Method Summary | |
---|---|
__init__(self)
| |
_getChildNodes(self,
node,
tag)
| |
_getRoot(self,
filename,
string)
| |
_parseBundle(self,
node)
| |
_parseBundleDependencies(self,
node)
| |
_parseBundleDirectories(self,
node)
| |
_parseBundleDirectory(self,
node)
| |
_parseBundles(self,
node)
| |
_parseComponent(self,
node)
| |
_parseComponents(self,
node)
| |
_parseDirectories(self,
node)
| |
_parseDirectory(self,
node)
| |
_parseEater(self,
node)
| |
_parseEntries(self,
node)
| |
_parseFeeder(self,
node)
| |
_parseFiles(self,
node)
| |
_parseProperties(self,
properties,
node)
| |
_parseRoot(self,
node)
| |
_parseSource(self,
node)
| |
Add a registry path object to the parser. | |
clean(self)
| |
getComponent(self,
name)
| |
getComponents(self)
| |
getDirectories(self)
| |
getDirectory(self,
name)
| |
parseRegistry(self,
filename,
string)
| |
Parse the given XML registry part file, And add it to our registry. | |
Inherited from Loggable | |
Log a debug message. | |
Log an error. | |
Log an informational message. | |
Log a log message. | |
Overridable log function. | |
Overridable object name function. | |
Log a warning. | |
Log a warning about a Failure. |
Class Variable Summary | |
---|---|
Inherited from Loggable | |
str |
logCategory : Implementors can provide a category to log their messages under. |
Method Details |
---|
addDirectory(self, directory)Add a registry path object to the parser.
|
parseRegistryFile(self, filename, string=None)Parse the given XML registry part file, And add it to our registry. If a string is given, the string overrides the given file. |
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Dec 20 15:33:10 2005 | http://epydoc.sf.net |