def _registerDefaultElementWriters(self, writer): writer.registerElementWriter(XMLDataTypeWriter(self.version, self.patch)) writer.registerElementWriter(XMLConstantWriter(self.version, self.patch)) writer.registerElementWriter(XMLPortInterfaceWriter(self.version, self.patch)) writer.registerElementWriter(XMLComponentTypeWriter(self.version, self.patch)) writer.registerElementWriter(XMLBehaviorWriter(self.version, self.patch)) writer.registerElementWriter(CodeDataTypeWriter(self.version, self.patch)) writer.registerElementWriter(CodeConstantWriter(self.version, self.patch)) writer.registerElementWriter(CodePortInterfaceWriter(self.version, self.patch)) writer.registerElementWriter(CodeComponentTypeWriter(self.version, self.patch)) writer.registerElementWriter(CodeBehaviorWriter(self.version, self.patch)) writer.registerElementWriter(SignalWriter(self.version, self.patch)) writer.registerElementWriter(XMLModeWriter(self.version, self.patch))
def _registerDefaultElementWriters(self, writer): writer.registerElementWriter(XMLDataTypeWriter(self.version, self.patch)) writer.registerElementWriter(CodeDataTypeWriter(self.version, self.patch)) writer.registerElementWriter(XMLConstantWriter(self.version, self.patch)) writer.registerElementWriter(CodeConstantWriter(self.version, self.patch)) writer.registerElementWriter(XMLPortInterfaceWriter(self.version, self.patch)) writer.registerElementWriter(CodePortInterfaceWriter(self.version, self.patch)) writer.registerElementWriter(XMLComponentTypeWriter(self.version, self.patch)) writer.registerElementWriter(CodeComponentTypeWriter(self.version, self.patch)) writer.registerElementWriter(XMLBehaviorWriter(self.version, self.patch)) writer.registerElementWriter(CodeBehaviorWriter(self.version, self.patch)) writer.registerElementWriter(SignalWriter(self.version, self.patch))