Class ExtendedMitabInteractionEvidenceFeeder
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.feeder.AbstractMitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
-
- psidev.psi.mi.jami.tab.io.writer.feeder.MitabInteractionEvidenceFeeder
-
- psidev.psi.mi.jami.tab.io.writer.feeder.extended.ExtendedMitabInteractionEvidenceFeeder
-
- All Implemented Interfaces:
MitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
public class ExtendedMitabInteractionEvidenceFeeder extends MitabInteractionEvidenceFeeder
Mitab 2.6 extended feeder for interaction evidence. It will cast Alias with MitabAlias to write a specified dbsource, it will cast Feature with DefaultMitabFeature to write a specific feature text and it will cast Confidence with MitabConfidence to write a specific text- Since:
20/06/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ExtendedMitabInteractionEvidenceFeeder(Writer writer)
Constructor for ExtendedMitabInteractionEvidenceFeeder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeAlias(Alias alias)
This methods write the dbsource, alias name and alias type of an aliasvoid
writeAlias(ParticipantEvidence participant, Alias alias)
This methods write the dbsource, alias name and alias type of an alias.void
writeConfidence(Confidence conf)
This method will write a confidence with a text if text is not nullvoid
writeFeature(Feature feature)
Writes a feature-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.feeder.MitabInteractionEvidenceFeeder
writeExperimentalRole, writeFirstAuthor, writeHostOrganism, writeInteractionAnnotations, writeInteractionAnnotationTagsFrom, writeInteractionConfidences, writeInteractionDetectionMethod, writeInteractionIdentifiers, writeInteractionParameters, writeInteractionXrefs, writeNegativeProperty, writeParticipantIdentificationMethod, writePublicationIdentifiers, writePublicationImexId, writeSource
-
Methods inherited from class psidev.psi.mi.jami.tab.io.writer.feeder.AbstractMitabColumnFeeder
escapeAndWriteString, getWriter, writeAliases, writeAlternativeIdentifiers, writeAnnotation, writeBiologicalRole, writeChecksum, writeComplexExpansion, writeCvTerm, writeCvTermName, writeDate, writeIdentifier, writeInteractionCausalRegulatoryMechanism, writeInteractionCausalStatement, writeInteractionChecksums, writeInteractionType, writeInteractorOrganism, writeInteractorType, writeOrganism, writeParameter, writeParticipantAnnotations, writeParticipantBiologicalEffect, writeParticipantChecksums, writeParticipantFeatures, writeParticipantStoichiometry, writeParticipantXrefs, writeUniqueIdentifier, writeXref
-
-
-
-
Method Detail
-
writeConfidence
public void writeConfidence(Confidence conf) throws IOException
This method will write a confidence with a text if text is not null- Specified by:
writeConfidence
in interfaceMitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
- Overrides:
writeConfidence
in classAbstractMitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
conf
- aConfidence
object.- Throws:
IOException
- if any.
-
writeAlias
public void writeAlias(Alias alias) throws IOException
This methods write the dbsource, alias name and alias type of an alias- Specified by:
writeAlias
in interfaceMitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
- Overrides:
writeAlias
in classAbstractMitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
alias
- aAlias
object.- Throws:
IOException
- if any.
-
writeAlias
public void writeAlias(ParticipantEvidence participant, Alias alias) throws IOException
This methods write the dbsource, alias name and alias type of an alias. It can use the modelled participant to find dbsource- Specified by:
writeAlias
in interfaceMitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
- Overrides:
writeAlias
in classMitabInteractionEvidenceFeeder
- Parameters:
participant
- a P object.alias
- aAlias
object.- Throws:
IOException
- if any.
-
writeFeature
public void writeFeature(Feature feature) throws IOException
Writes a feature- Specified by:
writeFeature
in interfaceMitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
- Overrides:
writeFeature
in classAbstractMitabColumnFeeder<BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
feature
- aFeature
object.- Throws:
IOException
- if any.
-
-