Class ExtendedMitabModelledInteractionFeeder
- java.lang.Object
-
- psidev.psi.mi.jami.tab.io.writer.feeder.AbstractMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>
-
- psidev.psi.mi.jami.tab.io.writer.feeder.MitabModelledInteractionFeeder
-
- psidev.psi.mi.jami.tab.io.writer.feeder.extended.ExtendedMitabModelledInteractionFeeder
-
- All Implemented Interfaces:
MitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>
public class ExtendedMitabModelledInteractionFeeder extends MitabModelledInteractionFeeder
Mitab 2.5 extended feeder for Modelled interaction. 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 ExtendedMitabModelledInteractionFeeder(Writer writer)
Constructor for ExtendedMitabModelledInteractionFeeder.
-
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(ModelledParticipant 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.MitabModelledInteractionFeeder
writeExperimentalRole, writeFirstAuthor, writeHostOrganism, writeInteractionAnnotations, writeInteractionConfidences, writeInteractionDetectionMethod, writeInteractionIdentifiers, writeInteractionParameters, writeInteractionXrefs, writeNegativeProperty, writeParticipantIdentificationMethod, writePublicationIdentifiers, 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<ModelledBinaryInteraction,ModelledParticipant>
- Overrides:
writeConfidence
in classAbstractMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>
- 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<ModelledBinaryInteraction,ModelledParticipant>
- Overrides:
writeAlias
in classAbstractMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>
- Parameters:
alias
- aAlias
object.- Throws:
IOException
- if any.
-
writeAlias
public void writeAlias(ModelledParticipant 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<ModelledBinaryInteraction,ModelledParticipant>
- Overrides:
writeAlias
in classMitabModelledInteractionFeeder
- 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<ModelledBinaryInteraction,ModelledParticipant>
- Overrides:
writeFeature
in classAbstractMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>
- Parameters:
feature
- aFeature
object.- Throws:
IOException
- if any.
-
-