Class SMELineParser
- java.lang.Object
-
- uk.ac.ebi.pride.jmztab2.utils.parser.MZTabLineParser
-
- uk.ac.ebi.pride.jmztab2.utils.parser.MZTabDataLineParser<SmallMoleculeEvidence>
-
- uk.ac.ebi.pride.jmztab2.utils.parser.SMELineParser
-
public class SMELineParser extends MZTabDataLineParser<SmallMoleculeEvidence>
SMELineParser class.
- Since:
- 11/09/17
- Author:
- nilshoffmann
-
-
Field Summary
-
Fields inherited from class uk.ac.ebi.pride.jmztab2.utils.parser.MZTabDataLineParser
exchangeMapping, factory, mapping, metadata, positionMapping
-
Fields inherited from class uk.ac.ebi.pride.jmztab2.utils.parser.MZTabLineParser
context, errorList, items, line, lineNumber, section
-
-
Constructor Summary
Constructors Constructor Description SMELineParser(MZTabParserContext context, MZTabColumnFactory factory, PositionMapping positionMapping, Metadata metadata, MZTabErrorList errorList)
Constructor for SMELineParser.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
checkData()
Check and translate the columns into mzTab elements.SmallMoleculeEvidence
getRecord()
Retrieve the data line to a type mzTab domain object.-
Methods inherited from class uk.ac.ebi.pride.jmztab2.utils.parser.MZTabDataLineParser
checkAmbiguityMembers, checkBestSearchEngineScore, checkCalcMassToCharge, checkCharge, checkChemicalFormula, checkData, checkDatabase, checkDatabaseVersion, checkDescription, checkDouble, checkDouble, checkDoubleList, checkEnd, checkExpMassToCharge, checkGOTerms, checkIdentifier, checkInchiKey, checkInteger, checkInteger, checkIntegerList, checkIntegerList, checkMassToCharge, checkMZBoolean, checkNumPeptidesDistinct, checkNumPeptidesUnique, checkNumPSMs, checkParameter, checkParamList, checkPost, checkPre, checkProteinCoverage, checkPSMID, checkRetentionTime, checkRetentionTimeWindow, checkSearchEngine, checkSearchEngineScore, checkSequence, checkSmiles, checkSpecies, checkSpectraRef, checkSpectraRef, checkStart, checkString, checkString, checkStringList, checkTaxid, checkUnique, checkURI, loadBestSearchEngineScoreId, loadSearchEngineScoreId, parse
-
-
-
-
Constructor Detail
-
SMELineParser
public SMELineParser(MZTabParserContext context, MZTabColumnFactory factory, PositionMapping positionMapping, Metadata metadata, MZTabErrorList errorList)
Constructor for SMELineParser.
- Parameters:
context
- aMZTabParserContext
object.factory
- aMZTabColumnFactory
object.positionMapping
- aPositionMapping
object.metadata
- aMetadata
object.errorList
- aMZTabErrorList
object.
-
-
Method Detail
-
checkData
protected int checkData()
Check and translate the columns into mzTab elements.- Specified by:
checkData
in classMZTabDataLineParser<SmallMoleculeEvidence>
- Returns:
- a int.
-
getRecord
public SmallMoleculeEvidence getRecord()
Retrieve the data line to a type mzTab domain object.- Specified by:
getRecord
in classMZTabDataLineParser<SmallMoleculeEvidence>
- Returns:
- a typed mzTab domain object.
-
-