Interface PsiXmlExperimentWriter
-
- All Superinterfaces:
PsiXmlElementWriter<Experiment>
- All Known Implementing Classes:
AbstractXmlExperimentWriter
,XmlExperimentWriter
,XmlExperimentWriter
,XmlExperimentWriter
,XmlExperimentWriter
,XmlNamedExperimentWriter
,XmlNamedExperimentWriter
public interface PsiXmlExperimentWriter extends PsiXmlElementWriter<Experiment>
PsiXml Experiment Writer- Since:
22/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CvTerm
extractDefaultParticipantIdentificationMethod(Experiment exp)
extractDefaultParticipantIdentificationMethod.Publication
getDefaultPublication()
getDefaultPublication.void
setDefaultPublication(Publication pub)
Sets the default publication to write in case an experiment does not have a publicationCvTerm
writeExperiment(Experiment exp)
writeExperiment.-
Methods inherited from interface psidev.psi.mi.jami.xml.io.writer.elements.PsiXmlElementWriter
write
-
-
-
-
Method Detail
-
getDefaultPublication
Publication getDefaultPublication()
getDefaultPublication.
- Returns:
- the default publication. It cannot be null
-
setDefaultPublication
void setDefaultPublication(Publication pub)
Sets the default publication to write in case an experiment does not have a publication- Parameters:
pub
- aPublication
object.- Throws:
IllegalArgumentException
- when default publication is null
-
writeExperiment
CvTerm writeExperiment(Experiment exp) throws MIIOException
writeExperiment.
- Parameters:
exp
- the experiment to write- Returns:
- the participant identification method used by the writer when writing the experiment. Can be null if no participant identification method has been written.
- Throws:
MIIOException
- if any.
-
extractDefaultParticipantIdentificationMethod
CvTerm extractDefaultParticipantIdentificationMethod(Experiment exp)
extractDefaultParticipantIdentificationMethod.
- Parameters:
exp
- aExperiment
object.- Returns:
- the default participant identification method associated with this experiment
-
-