Lines Matching refs:documentObject
418 def __init__(self, documentPath, documentObject): argument
420 self.documentObject = documentObject
428 if self.documentObject.axes:
430 for axisObject in self.documentObject.axes:
433 if self.documentObject.rules:
434 if getattr(self.documentObject, "rulesProcessingLast", False):
439 for ruleObject in self.documentObject.rules:
442 if self.documentObject.sources:
444 for sourceObject in self.documentObject.sources:
447 if self.documentObject.instances:
449 for instanceObject in self.documentObject.instances:
452 if self.documentObject.lib:
453 self._addLib(self.documentObject.lib)
469 validatedLocation = self.documentObject.newDefaultLocation()
712 def __init__(self, documentPath, documentObject): argument
714 self.documentObject = documentObject
717 self.documentObject.formatVersion = self.root.attrib.get("format", "3.0")
726 def fromstring(cls, string, documentObject): argument
728 self = cls(f, documentObject)
749 self.documentObject.rulesProcessingLast = processingValue == "last"
777 self.documentObject.rules = rules
828 self.documentObject.axes.append(axisObject)
879 self.documentObject.sources.append(sourceObject)
890 if self._strictAxisNames and not self.documentObject.axes:
924 if filename is not None and self.documentObject.path is not None:
925 instancePath = os.path.join(os.path.dirname(self.documentObject.path), filename)
979 self.documentObject.instances.append(instanceObject)
1050 self.documentObject.lib = plistlib.fromtree(libElement[0])