Class XmlBasicInteractionWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionWriter<T,Participant>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlInteractionWriter<I>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.xml25.AbstractXmlInteractionWriter<Interaction>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.expanded.xml25.XmlBasicInteractionWriter
-
- All Implemented Interfaces:
CompactPsiXmlElementWriter<Interaction>
,PsiXmlElementWriter<Interaction>
,PsiXmlExtendedInteractionWriter<Interaction>
,PsiXmlInteractionWriter<Interaction>
public class XmlBasicInteractionWriter extends AbstractXmlInteractionWriter<Interaction> implements CompactPsiXmlElementWriter<Interaction>
Expanded XML 2.5 writer for a basic interaction (ignore experimental details). Interactions are named interactions with a fullname and aliases in addition to a shortname- Since:
15/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlBasicInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlBasicInteractionWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseParticipantWriter()
initialiseParticipantWriter.protected CvTerm
writeExperiments(Interaction object)
writeExperiments.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.xml25.AbstractXmlInteractionWriter
extractDefaultExperimentsFrom, getAliasWriter, getDefaultExperiments, getXmlInferredInteractionWriter, initialiseExperimentWriter, initialiseInteractionTypeWriter, initialiseXrefWriter, setAliasWriter, setDefaultExperiments, setXmlInferredInteractionWriter, writeExperimentDescription, writeExperimentRef, writeInferredInteractions, writeInteractionType, writeIntraMolecular, writeNames
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlInteractionWriter
initialiseInferredInteractionWriter, writeAvailability, writeConfidences, writeModelled, writeNegative, writeOtherAttributes, writeOtherProperties, writeParameters, writeStartInteraction
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionWriter
collectInferredInteractionsFrom, extractDefaultExperimentFrom, getAttributeWriter, getChecksumWriter, getDefaultExperiment, getExperimentWriter, getInferredInteractionWriter, getInteractionTypeWriter, getObjectIndex, getParticipantWriter, getStreamWriter, getVersion, getXrefWriter, initialiseDefaultExperiment, newExperiment, newPublication, newPublication, newXmlCvTerm, setAttributeWriter, setChecksumWriter, setComplexAsInteractor, setDefaultExperiment, setExperimentWriter, setInferredInteractionWriter, setInteractionTypeWriter, setParticipantWriter, setXrefWriter, write, writeAttribute, writeAttributes, writeComplexAsInteractor, writeParticipants, writeXref, writeXrefFromInteractionIdentifiers, writeXrefFromInteractionXrefs
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
XmlBasicInteractionWriter
public XmlBasicInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlBasicInteractionWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseParticipantWriter
protected void initialiseParticipantWriter()
initialiseParticipantWriter.
- Specified by:
initialiseParticipantWriter
in classAbstractXmlInteractionWriter<Interaction,Participant>
-
writeExperiments
protected CvTerm writeExperiments(Interaction object) throws XMLStreamException
writeExperiments.
- Specified by:
writeExperiments
in classAbstractXmlInteractionWriter<Interaction,Participant>
- Parameters:
object
- a T object.- Returns:
- a
CvTerm
object. - Throws:
XMLStreamException
- if any.
-
-