Interface PsiXmlExtendedInteractionWriter<T extends Interaction>
-
- All Superinterfaces:
PsiXmlElementWriter<T>
,PsiXmlInteractionWriter<T>
- All Known Implementing Classes:
AbstractXmlInteractionEvidenceWriter
,AbstractXmlInteractionEvidenceWriter
,AbstractXmlInteractionEvidenceWriter
,AbstractXmlInteractionWriter
,AbstractXmlModelledInteractionWriter
,AbstractXmlModelledInteractionWriter
,AbstractXmlModelledInteractionWriter
,XmlBasicBinaryInteractionWriter
,XmlBasicBinaryInteractionWriter
,XmlBasicInteractionWriter
,XmlBasicInteractionWriter
,XmlBinaryInteractionEvidenceWriter
,XmlBinaryInteractionEvidenceWriter
,XmlBinaryInteractionEvidenceWriter
,XmlBinaryInteractionEvidenceWriter
,XmlComplexWriter
,XmlComplexWriter
,XmlInteractionEvidenceWriter
,XmlInteractionEvidenceWriter
,XmlInteractionEvidenceWriter
,XmlInteractionEvidenceWriter
,XmlModelledBinaryInteractionWriter
,XmlModelledBinaryInteractionWriter
,XmlModelledBinaryInteractionWriter
,XmlModelledBinaryInteractionWriter
,XmlModelledInteractionWriter
,XmlModelledInteractionWriter
,XmlModelledInteractionWriter
,XmlModelledInteractionWriter
public interface PsiXmlExtendedInteractionWriter<T extends Interaction> extends PsiXmlInteractionWriter<T>
Interface for interaction writers writing extensions- Since:
20/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Experiment>
extractDefaultExperimentsFrom(T interaction)
extractDefaultExperimentsFrom.List<Experiment>
getDefaultExperiments()
The default experiments that will be used to write a valid XML file but are not real experiments attached to the interaction.void
setDefaultExperiments(List<Experiment> exp)
Sets the default experiments that will be used to write a valid XML file even if the interaction does not have any valid experiment-
Methods inherited from interface psidev.psi.mi.jami.xml.io.writer.elements.PsiXmlElementWriter
write
-
Methods inherited from interface psidev.psi.mi.jami.xml.io.writer.elements.PsiXmlInteractionWriter
extractDefaultExperimentFrom, getDefaultExperiment, setComplexAsInteractor, setDefaultExperiment, writeComplexAsInteractor
-
-
-
-
Method Detail
-
extractDefaultExperimentsFrom
List<Experiment> extractDefaultExperimentsFrom(T interaction)
extractDefaultExperimentsFrom.
- Parameters:
interaction
- a T object.- Returns:
- the default experiments for this interaction
-
getDefaultExperiments
List<Experiment> getDefaultExperiments()
The default experiments that will be used to write a valid XML file but are not real experiments attached to the interaction. It cannot be null.- Returns:
- a
List
object.
-
setDefaultExperiments
void setDefaultExperiments(List<Experiment> exp)
Sets the default experiments that will be used to write a valid XML file even if the interaction does not have any valid experiment- Parameters:
exp
- aList
object.- Throws:
IllegalArgumentException
- when default experiments is null
-
-