Class SMLLineParser


  • public class SMLLineParser
    extends MZTabDataLineParser<de.isas.mztab2.model.SmallMoleculeSummary>

    SMLLineParser class.

    Since:
    10/02/13
    Author:
    qingwei, nilshoffmann
    • Method Detail

      • checkData

        protected int checkData()
        Check and translate the columns into mzTab elements.
        Specified by:
        checkData in class MZTabDataLineParser<de.isas.mztab2.model.SmallMoleculeSummary>
        Returns:
        a int.
      • checkRegexMatches

        protected void checkRegexMatches​(uk.ac.ebi.pride.jmztab2.utils.errors.MZTabErrorList errorList,
                                         int lineNumber,
                                         de.isas.mztab2.model.SmallMoleculeSummary.Properties elementProperty,
                                         String regularExpression,
                                         List<String> elements)
      • checkItemNumbers

        protected void checkItemNumbers​(uk.ac.ebi.pride.jmztab2.utils.errors.MZTabErrorList errorList,
                                        int lineNumber,
                                        List<?> reference,
                                        de.isas.mztab2.model.SmallMoleculeSummary.Properties referenceProperty,
                                        List<?> toCheck,
                                        de.isas.mztab2.model.SmallMoleculeSummary.Properties toCheckProperty)
                                 throws uk.ac.ebi.pride.jmztab2.utils.errors.MZTabErrorOverflowException
        Throws:
        uk.ac.ebi.pride.jmztab2.utils.errors.MZTabErrorOverflowException
      • getRecord

        public de.isas.mztab2.model.SmallMoleculeSummary getRecord()

        getRecord.

        Specified by:
        getRecord in class MZTabDataLineParser<de.isas.mztab2.model.SmallMoleculeSummary>
        Returns:
        a SmallMoleculeSummary object.