def METHOD_NAME(self):
    # Assemble and write the XML file.
    # Write the XML declaration.
    self._xml_declaration()
    self._write_types()
    self._write_defaults()
    self._write_overrides()
    self._xml_end_tag('Types')
    # Close the file.
    self._xml_close()