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 voidwriteAlias(Alias alias)This methods write the dbsource, alias name and alias type of an aliasvoidwriteAlias(ModelledParticipant participant, Alias alias)This methods write the dbsource, alias name and alias type of an alias.voidwriteConfidence(Confidence conf)This method will write a confidence with a text if text is not nullvoidwriteFeature(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:
writeConfidencein interfaceMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>- Overrides:
writeConfidencein classAbstractMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>- Parameters:
conf- aConfidenceobject.- 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:
writeAliasin interfaceMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>- Overrides:
writeAliasin classAbstractMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>- Parameters:
alias- aAliasobject.- 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:
writeAliasin interfaceMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>- Overrides:
writeAliasin classMitabModelledInteractionFeeder- Parameters:
participant- a P object.alias- aAliasobject.- Throws:
IOException- if any.
-
writeFeature
public void writeFeature(Feature feature) throws IOException
Writes a feature- Specified by:
writeFeaturein interfaceMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>- Overrides:
writeFeaturein classAbstractMitabColumnFeeder<ModelledBinaryInteraction,ModelledParticipant>- Parameters:
feature- aFeatureobject.- Throws:
IOException- if any.
-
-