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 voidwriteConfidences(ModelledInteraction interaction)writeConfidencesprotected voidwriteConfidences(ModelledParticipant participant)writeConfidencesprotected voidwriteCooperativeEffects(ModelledInteraction interaction)writeCooperativeEffectsprotected voidwriteDetectionMethods(ModelledFeature feature)writeDetectionMethodsprotected voidwriteExperiment(ModelledInteraction interaction)writeExperimentprotected voidwriteExperimentalPreparations(ModelledParticipant participant)writeExperimentalPreparationsprotected voidwriteExperimentalRole(ModelledParticipant participant)writeExperimentalRoleprotected voidwriteExpressedInOrganism(ModelledParticipant participant)writeExpressedInOrganismprotected voidwriteGeneralProperties(ModelledInteraction interaction)writeGeneralPropertiesprotected voidwriteModelledInteraction(ModelledInteraction c)writeModelledInteractionprotected voidwriteParameters(ModelledInteraction interaction)writeParametersprotected voidwriteParameters(ModelledParticipant participant)writeParametersprotected voidwriteParticipantIdentificationMethods(ModelledParticipant participant)writeParticipantIdentificationMethodsprotected voidwritePublication(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- aFileobject.- Throws:
IOException- if any.
-
MIModelledHtmlWriter
public MIModelledHtmlWriter(OutputStream output)
Constructor for MIModelledHtmlWriter.
- Parameters:
output- aOutputStreamobject.
-
-
Method Detail
-
writeCooperativeEffects
protected void writeCooperativeEffects(ModelledInteraction interaction) throws IOException
writeCooperativeEffects
- Specified by:
writeCooperativeEffectsin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writePublication
protected void writePublication(Publication publication) throws IOException
writePublication
- Parameters:
publication- aPublicationobject.- Throws:
IOException- if any.
-
writeConfidences
protected void writeConfidences(ModelledInteraction interaction) throws IOException
writeConfidences
- Specified by:
writeConfidencesin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeParameters
protected void writeParameters(ModelledInteraction interaction) throws IOException
writeParameters
- Specified by:
writeParametersin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeDetectionMethods
protected void writeDetectionMethods(ModelledFeature feature) throws IOException
writeDetectionMethods
- Specified by:
writeDetectionMethodsin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
feature- a F object.- Throws:
IOException- if any.
-
writeGeneralProperties
protected void writeGeneralProperties(ModelledInteraction interaction) throws IOException
writeGeneralProperties
- Specified by:
writeGeneralPropertiesin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeExperiment
protected void writeExperiment(ModelledInteraction interaction) throws IOException
writeExperiment
- Specified by:
writeExperimentin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
interaction- a T object.- Throws:
IOException- if any.
-
writeConfidences
protected void writeConfidences(ModelledParticipant participant) throws IOException
writeConfidences
- Specified by:
writeConfidencesin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
participant- a P object.- Throws:
IOException- if any.
-
writeParameters
protected void writeParameters(ModelledParticipant participant) throws IOException
writeParameters
- Specified by:
writeParametersin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
participant- a P object.- Throws:
IOException- if any.
-
writeExperimentalPreparations
protected void writeExperimentalPreparations(ModelledParticipant participant) throws IOException
writeExperimentalPreparations
- Specified by:
writeExperimentalPreparationsin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
participant- a P object.- Throws:
IOException- if any.
-
writeExpressedInOrganism
protected void writeExpressedInOrganism(ModelledParticipant participant) throws IOException
writeExpressedInOrganism
- Specified by:
writeExpressedInOrganismin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
participant- a P object.- Throws:
IOException- if any.
-
writeExperimentalRole
protected void writeExperimentalRole(ModelledParticipant participant) throws IOException
writeExperimentalRole
- Specified by:
writeExperimentalRolein classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
participant- a P object.- Throws:
IOException- if any.
-
writeParticipantIdentificationMethods
protected void writeParticipantIdentificationMethods(ModelledParticipant participant) throws IOException
writeParticipantIdentificationMethods
- Specified by:
writeParticipantIdentificationMethodsin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
participant- a P object.- Throws:
IOException- if any.
-
writeModelledInteraction
protected void writeModelledInteraction(ModelledInteraction c)
writeModelledInteraction
- Overrides:
writeModelledInteractionin classAbstractMIHtmlWriter<ModelledInteraction,ModelledParticipant,ModelledFeature>- Parameters:
c- aModelledInteractionobject.
-
-