Package psidev.psi.mi.jami.tab.listener
Class MitabParserCompositeListener
- java.lang.Object
-
- psidev.psi.mi.jami.listener.impl.MIFileParserCompositeListener<MitabParserListener>
-
- psidev.psi.mi.jami.tab.listener.MitabParserCompositeListener
-
- All Implemented Interfaces:
MIFileParserListener,MitabParserListener
public class MitabParserCompositeListener extends MIFileParserCompositeListener<MitabParserListener> implements MitabParserListener
This class contains several MI file listeners- Since:
13/12/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MitabParserCompositeListener()Constructor for MitabParserCompositeListener.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAliasWithoutDbSource(MitabAlias alias)onAliasWithoutDbSource.voidonEmptyUniqueIdentifiers(int line, int column, int mitabColumn)onEmptyUniqueIdentifiers.voidonMissingExpansionId(MitabCvTerm expansion)onMissingExpansionId.voidonMissingInteractorIdentifierColumns(int line, int column, int mitabColumn)onMissingInteractorIdentifierColumns.voidonSeveralCreatedDateFound(Collection<MitabDate> dates)onSeveralCreatedDateFound.voidonSeveralCvTermsFound(Collection<MitabCvTerm> terms, FileSourceContext context, String message)Listen to an event where several CvTerms were found and only one was expected.voidonSeveralFirstAuthorFound(Collection<MitabAuthor> authors)onSeveralFirstAuthorFound.voidonSeveralHostOrganismFound(Collection<MitabOrganism> organisms, FileSourceContext context)Listen to an event where several host organisms were found in a single experiment and only one was expected.voidonSeveralOrganismFound(Collection<MitabOrganism> organisms)onSeveralOrganismFound.voidonSeveralSourceFound(Collection<MitabSource> sources)onSeveralSourceFound.voidonSeveralStoichiometryFound(Collection<MitabStoichiometry> stoichiometry)onSeveralStoichiometryFound.voidonSeveralUniqueIdentifiers(Collection<MitabXref> ids)onSeveralUniqueIdentifiers.voidonSeveralUpdatedDateFound(Collection<MitabDate> dates)onSeveralUpdatedDateFound.voidonTextFoundInConfidence(MitabConfidence conf)onTextFoundInConfidence.voidonTextFoundInIdentifier(MitabXref xref)onTextFoundInIdentifier.-
Methods inherited from class psidev.psi.mi.jami.listener.impl.MIFileParserCompositeListener
getDelegates, onAliasWithoutName, onAnnotationWithoutTopic, onInteractionWithoutParticipants, onInvalidOrganismTaxid, onInvalidPosition, onInvalidRange, onInvalidStoichiometry, onInvalidSyntax, onMissingChecksumMethod, onMissingChecksumValue, onMissingConfidenceType, onMissingConfidenceValue, onMissingCvTermName, onMissingInteractorName, onMissingParameterType, onMissingParameterValue, onParticipantWithoutInteractor, onSyntaxWarning, onXrefWithoutDatabase, onXrefWithoutId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.listener.MIFileParserListener
onAliasWithoutName, onAnnotationWithoutTopic, onInteractionWithoutParticipants, onInvalidOrganismTaxid, onInvalidPosition, onInvalidRange, onInvalidStoichiometry, onInvalidSyntax, onMissingChecksumMethod, onMissingChecksumValue, onMissingConfidenceType, onMissingConfidenceValue, onMissingCvTermName, onMissingInteractorName, onMissingParameterType, onMissingParameterValue, onParticipantWithoutInteractor, onSyntaxWarning, onXrefWithoutDatabase, onXrefWithoutId
-
-
-
-
Method Detail
-
onTextFoundInIdentifier
public void onTextFoundInIdentifier(MitabXref xref)
onTextFoundInIdentifier.
- Specified by:
onTextFoundInIdentifierin interfaceMitabParserListener- Parameters:
xref- aMitabXrefobject.
-
onTextFoundInConfidence
public void onTextFoundInConfidence(MitabConfidence conf)
onTextFoundInConfidence.
- Specified by:
onTextFoundInConfidencein interfaceMitabParserListener- Parameters:
conf- aMitabConfidenceobject.
-
onMissingExpansionId
public void onMissingExpansionId(MitabCvTerm expansion)
onMissingExpansionId.
- Specified by:
onMissingExpansionIdin interfaceMitabParserListener- Parameters:
expansion- aMitabCvTermobject.
-
onSeveralUniqueIdentifiers
public void onSeveralUniqueIdentifiers(Collection<MitabXref> ids)
onSeveralUniqueIdentifiers.
- Specified by:
onSeveralUniqueIdentifiersin interfaceMitabParserListener- Parameters:
ids- aCollectionobject.
-
onEmptyUniqueIdentifiers
public void onEmptyUniqueIdentifiers(int line, int column, int mitabColumn)onEmptyUniqueIdentifiers.
- Specified by:
onEmptyUniqueIdentifiersin interfaceMitabParserListener- Parameters:
line- a int.column- a int.mitabColumn- a int.
-
onMissingInteractorIdentifierColumns
public void onMissingInteractorIdentifierColumns(int line, int column, int mitabColumn)onMissingInteractorIdentifierColumns.
- Specified by:
onMissingInteractorIdentifierColumnsin interfaceMitabParserListener- Parameters:
line- a int.column- a int.mitabColumn- a int.
-
onSeveralOrganismFound
public void onSeveralOrganismFound(Collection<MitabOrganism> organisms)
onSeveralOrganismFound.
- Specified by:
onSeveralOrganismFoundin interfaceMitabParserListener- Parameters:
organisms- aCollectionobject.
-
onSeveralStoichiometryFound
public void onSeveralStoichiometryFound(Collection<MitabStoichiometry> stoichiometry)
onSeveralStoichiometryFound.
- Specified by:
onSeveralStoichiometryFoundin interfaceMitabParserListener- Parameters:
stoichiometry- aCollectionobject.
-
onSeveralFirstAuthorFound
public void onSeveralFirstAuthorFound(Collection<MitabAuthor> authors)
onSeveralFirstAuthorFound.
- Specified by:
onSeveralFirstAuthorFoundin interfaceMitabParserListener- Parameters:
authors- aCollectionobject.
-
onSeveralSourceFound
public void onSeveralSourceFound(Collection<MitabSource> sources)
onSeveralSourceFound.
- Specified by:
onSeveralSourceFoundin interfaceMitabParserListener- Parameters:
sources- aCollectionobject.
-
onSeveralCreatedDateFound
public void onSeveralCreatedDateFound(Collection<MitabDate> dates)
onSeveralCreatedDateFound.
- Specified by:
onSeveralCreatedDateFoundin interfaceMitabParserListener- Parameters:
dates- aCollectionobject.
-
onSeveralUpdatedDateFound
public void onSeveralUpdatedDateFound(Collection<MitabDate> dates)
onSeveralUpdatedDateFound.
- Specified by:
onSeveralUpdatedDateFoundin interfaceMitabParserListener- Parameters:
dates- aCollectionobject.
-
onAliasWithoutDbSource
public void onAliasWithoutDbSource(MitabAlias alias)
onAliasWithoutDbSource.
- Specified by:
onAliasWithoutDbSourcein interfaceMitabParserListener- Parameters:
alias- aMitabAliasobject.
-
onSeveralCvTermsFound
public void onSeveralCvTermsFound(Collection<MitabCvTerm> terms, FileSourceContext context, String message)
Listen to an event where several CvTerms were found and only one was expected. Can happen when reading a clustered interaction evidence for instance- Specified by:
onSeveralCvTermsFoundin interfaceMitabParserListener- Parameters:
terms- aCollectionobject.context- aFileSourceContextobject.message- aStringobject.
-
onSeveralHostOrganismFound
public void onSeveralHostOrganismFound(Collection<MitabOrganism> organisms, FileSourceContext context)
Listen to an event where several host organisms were found in a single experiment and only one was expected. Can happen when reading a clustered interaction evidence for instance- Specified by:
onSeveralHostOrganismFoundin interfaceMitabParserListener- Parameters:
organisms- aCollectionobject.context- aFileSourceContextobject.
-
-