Package psidev.psi.mi.jami.html
Class MIModelledHtmlWriter
- java.lang.Object
-
- psidev.psi.mi.jami.html.AbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
-
- psidev.psi.mi.jami.html.MIModelledHtmlWriter
-
- All Implemented Interfaces:
InteractionWriter<ModelledInteraction>
public class MIModelledHtmlWriter extends AbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
Writer for modelled interactions- Since:
06/12/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MIModelledHtmlWriter()
Constructor for MIModelledHtmlWriter.MIModelledHtmlWriter(File file)
Constructor for MIModelledHtmlWriter.MIModelledHtmlWriter(OutputStream output)
Constructor for MIModelledHtmlWriter.MIModelledHtmlWriter(Writer writer)
Constructor for MIModelledHtmlWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
writeConfidences(ModelledInteraction interaction)
writeConfidencesprotected void
writeConfidences(ModelledParticipant participant)
writeConfidencesprotected void
writeCooperativeEffects(ModelledInteraction interaction)
writeCooperativeEffectsprotected void
writeDetectionMethods(ModelledFeature feature)
writeDetectionMethodsprotected void
writeExperiment(ModelledInteraction interaction)
writeExperimentprotected void
writeExperimentalPreparations(ModelledParticipant participant)
writeExperimentalPreparationsprotected void
writeExperimentalRole(ModelledParticipant participant)
writeExperimentalRoleprotected void
writeExpressedInOrganism(ModelledParticipant participant)
writeExpressedInOrganismprotected void
writeGeneralProperties(ModelledInteraction interaction)
writeGeneralPropertiesprotected void
writeModelledInteraction(ModelledInteraction c)
writeModelledInteractionprotected void
writeParameters(ModelledInteraction interaction)
writeParametersprotected void
writeParameters(ModelledParticipant participant)
writeParametersprotected void
writeParticipantIdentificationMethods(ModelledParticipant participant)
writeParticipantIdentificationMethodsprotected void
writePublication(Publication publication)
writePublication-
Methods inherited from class psidev.psi.mi.jami.html.AbstractMIHtmlWriter
close, end, flush, getComplexesToWrite, getComplexWriter, getProcessedObjects, getWriter, initialiseContext, reset, setWriteHeader, start, write, write, write, writeCvTerm, writeEndDocument, writeFeature, writeHeader, writeHtmlStyle, writeInteractionAnchor, writeInteractionList, writeInteractor, writeOrganism, writeParticipant, writeProperty, writePropertyWithQualifier, writerEndBody, writerStartBody, writeStartDocument, writeSubTitle, writeTag
-
-
-
-
Constructor Detail
-
MIModelledHtmlWriter
public MIModelledHtmlWriter()
Constructor for MIModelledHtmlWriter.
-
MIModelledHtmlWriter
public MIModelledHtmlWriter(File file) throws IOException
Constructor for MIModelledHtmlWriter.
- Parameters:
file
- aFile
object.- Throws:
IOException
- if any.
-
MIModelledHtmlWriter
public MIModelledHtmlWriter(OutputStream output)
Constructor for MIModelledHtmlWriter.
- Parameters:
output
- aOutputStream
object.
-
-
Method Detail
-
writeCooperativeEffects
protected void writeCooperativeEffects(ModelledInteraction interaction) throws IOException
writeCooperativeEffects
- Specified by:
writeCooperativeEffects
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
interaction
- a T object.- Throws:
IOException
- if any.
-
writePublication
protected void writePublication(Publication publication) throws IOException
writePublication
- Parameters:
publication
- aPublication
object.- Throws:
IOException
- if any.
-
writeConfidences
protected void writeConfidences(ModelledInteraction interaction) throws IOException
writeConfidences
- Specified by:
writeConfidences
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
interaction
- a T object.- Throws:
IOException
- if any.
-
writeParameters
protected void writeParameters(ModelledInteraction interaction) throws IOException
writeParameters
- Specified by:
writeParameters
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
interaction
- a T object.- Throws:
IOException
- if any.
-
writeDetectionMethods
protected void writeDetectionMethods(ModelledFeature feature) throws IOException
writeDetectionMethods
- Specified by:
writeDetectionMethods
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
feature
- a F object.- Throws:
IOException
- if any.
-
writeGeneralProperties
protected void writeGeneralProperties(ModelledInteraction interaction) throws IOException
writeGeneralProperties
- Specified by:
writeGeneralProperties
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
interaction
- a T object.- Throws:
IOException
- if any.
-
writeExperiment
protected void writeExperiment(ModelledInteraction interaction) throws IOException
writeExperiment
- Specified by:
writeExperiment
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
interaction
- a T object.- Throws:
IOException
- if any.
-
writeConfidences
protected void writeConfidences(ModelledParticipant participant) throws IOException
writeConfidences
- Specified by:
writeConfidences
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
participant
- a P object.- Throws:
IOException
- if any.
-
writeParameters
protected void writeParameters(ModelledParticipant participant) throws IOException
writeParameters
- Specified by:
writeParameters
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
participant
- a P object.- Throws:
IOException
- if any.
-
writeExperimentalPreparations
protected void writeExperimentalPreparations(ModelledParticipant participant) throws IOException
writeExperimentalPreparations
- Specified by:
writeExperimentalPreparations
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
participant
- a P object.- Throws:
IOException
- if any.
-
writeExpressedInOrganism
protected void writeExpressedInOrganism(ModelledParticipant participant) throws IOException
writeExpressedInOrganism
- Specified by:
writeExpressedInOrganism
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
participant
- a P object.- Throws:
IOException
- if any.
-
writeExperimentalRole
protected void writeExperimentalRole(ModelledParticipant participant) throws IOException
writeExperimentalRole
- Specified by:
writeExperimentalRole
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
participant
- a P object.- Throws:
IOException
- if any.
-
writeParticipantIdentificationMethods
protected void writeParticipantIdentificationMethods(ModelledParticipant participant) throws IOException
writeParticipantIdentificationMethods
- Specified by:
writeParticipantIdentificationMethods
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
participant
- a P object.- Throws:
IOException
- if any.
-
writeModelledInteraction
protected void writeModelledInteraction(ModelledInteraction c)
writeModelledInteraction
- Overrides:
writeModelledInteraction
in classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>
- Parameters:
c
- aModelledInteraction
object.
-
-