Interface PsiXmlInteractionWriter<T extends Interaction>
-
- All Superinterfaces:
PsiXmlElementWriter<T>
- All Known Subinterfaces:
PsiXmlExtendedInteractionWriter<T>
- All Known Implementing Classes:
AbstractXmlInteractionEvidenceWriter,AbstractXmlInteractionEvidenceWriter,AbstractXmlInteractionEvidenceWriter,AbstractXmlInteractionEvidenceWriter,AbstractXmlInteractionEvidenceWriter,AbstractXmlInteractionEvidenceWriter,AbstractXmlInteractionWriter,AbstractXmlInteractionWriter,AbstractXmlInteractionWriter,AbstractXmlModelledInteractionWriter,AbstractXmlModelledInteractionWriter,AbstractXmlModelledInteractionWriter,AbstractXmlModelledInteractionWriter,AbstractXmlModelledInteractionWriter,AbstractXmlModelledInteractionWriter,XmlBasicBinaryInteractionWriter,XmlBasicBinaryInteractionWriter,XmlBasicBinaryInteractionWriter,XmlBasicBinaryInteractionWriter,XmlBasicInteractionWriter,XmlBasicInteractionWriter,XmlBasicInteractionWriter,XmlBasicInteractionWriter,XmlBinaryInteractionEvidenceWriter,XmlBinaryInteractionEvidenceWriter,XmlBinaryInteractionEvidenceWriter,XmlBinaryInteractionEvidenceWriter,XmlBinaryInteractionEvidenceWriter,XmlBinaryInteractionEvidenceWriter,XmlBinaryInteractionEvidenceWriter,XmlBinaryInteractionEvidenceWriter,XmlComplexWriter,XmlComplexWriter,XmlComplexWriter,XmlComplexWriter,XmlInteractionEvidenceWriter,XmlInteractionEvidenceWriter,XmlInteractionEvidenceWriter,XmlInteractionEvidenceWriter,XmlInteractionEvidenceWriter,XmlInteractionEvidenceWriter,XmlInteractionEvidenceWriter,XmlInteractionEvidenceWriter,XmlModelledBinaryInteractionWriter,XmlModelledBinaryInteractionWriter,XmlModelledBinaryInteractionWriter,XmlModelledBinaryInteractionWriter,XmlModelledBinaryInteractionWriter,XmlModelledBinaryInteractionWriter,XmlModelledBinaryInteractionWriter,XmlModelledBinaryInteractionWriter,XmlModelledInteractionWriter,XmlModelledInteractionWriter,XmlModelledInteractionWriter,XmlModelledInteractionWriter,XmlModelledInteractionWriter,XmlModelledInteractionWriter,XmlModelledInteractionWriter,XmlModelledInteractionWriter,XmlNamedBinaryInteractionEvidenceWriter,XmlNamedBinaryInteractionEvidenceWriter,XmlNamedBinaryInteractionEvidenceWriter,XmlNamedBinaryInteractionEvidenceWriter,XmlNamedBinaryInteractionWriter,XmlNamedBinaryInteractionWriter,XmlNamedInteractionEvidenceWriter,XmlNamedInteractionEvidenceWriter,XmlNamedInteractionEvidenceWriter,XmlNamedInteractionEvidenceWriter,XmlNamedInteractionWriter,XmlNamedInteractionWriter,XmlNamedModelledBinaryInteractionWriter,XmlNamedModelledBinaryInteractionWriter,XmlNamedModelledBinaryInteractionWriter,XmlNamedModelledBinaryInteractionWriter,XmlNamedModelledInteractionWriter,XmlNamedModelledInteractionWriter,XmlNamedModelledInteractionWriter,XmlNamedModelledInteractionWriter
public interface PsiXmlInteractionWriter<T extends Interaction> extends PsiXmlElementWriter<T>
Interface for PSI-XML interaction writers that have to write an experiment in XML even if the interaction does not have any experimental details- Since:
14/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExperimentextractDefaultExperimentFrom(T interaction)extractDefaultExperimentFrom.ExperimentgetDefaultExperiment()The default experiment that will be used to write a valid XML file but is not a real experiment attached to the interaction.voidsetComplexAsInteractor(boolean complexAsInteractor)Sets the property of the writer to write a complex as an interactor or as an interactionvoidsetDefaultExperiment(Experiment exp)Sets the default experiment that will be used to write a valid XML file even if the interaction does not have any valid experimentbooleanwriteComplexAsInteractor()writeComplexAsInteractor.-
Methods inherited from interface psidev.psi.mi.jami.xml.io.writer.elements.PsiXmlElementWriter
write
-
-
-
-
Method Detail
-
getDefaultExperiment
Experiment getDefaultExperiment()
The default experiment that will be used to write a valid XML file but is not a real experiment attached to the interaction. It can be null in some specific cases.- Returns:
- the default experiment used by this writer
-
setDefaultExperiment
void setDefaultExperiment(Experiment exp)
Sets the default experiment that will be used to write a valid XML file even if the interaction does not have any valid experiment- Parameters:
exp- : default experiment
-
extractDefaultExperimentFrom
Experiment extractDefaultExperimentFrom(T interaction)
extractDefaultExperimentFrom.
- Parameters:
interaction- a T object.- Returns:
- the default experiment for this interaction
-
writeComplexAsInteractor
boolean writeComplexAsInteractor()
writeComplexAsInteractor.
- Returns:
- true if the participant writer will write a complex as an interactor
-
setComplexAsInteractor
void setComplexAsInteractor(boolean complexAsInteractor)
Sets the property of the writer to write a complex as an interactor or as an interaction- Parameters:
complexAsInteractor- a boolean.
-
-