'Write the XML to the output file
:return: None'

def flush(self):

    self._empty_xml_root()
    self._create_root_xml_elems()
    self._log_enabled_plugins_to_xml()
    self._write_findings_to_xml()
    self._write_errors_to_xml()
    self._write_xml_to_file()
    self._empty_xml_root()
