Ejemplo n.º 1
0
 def initComponentFromFile(self):
     objXmlUtil = XmlUtil()
     retDict = objXmlUtil.createDictionary(
         objXmlUtil.readFile(self.fileInit))
     # each component "key" has a dictionary where the keys are the
     # listOfArgs values (not necessarily all)
     for key, comp in retDict.items():
         self.factoryInitComponent(key, comp)
     return
 def init(self,object = None):
     objXmlUtil = XmlUtil()
     retDict =  objXmlUtil.createDictionary(objXmlUtil.readFile(self.filename))
     return retDict