#TODO: docstring

        :returns: #TODO: docstring

def parseSpectra(self):
        """ #TODO: docstring

        :returns: #TODO: docstring
        """
        #Note: the spectra need to be iterated completely to save the
        #metadataNode
        if self._parsed:
            raise TypeError('Mzml file already parsed.')
        self._parsed = True
        return self._parseMzml()