Class XmlComplexWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionWriter<I,ModelledParticipant>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlModelledInteractionWriter<I>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlModelledInteractionWriter<Complex>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.expanded.xml25.XmlComplexWriter
-
- All Implemented Interfaces:
ExpandedPsiXmlElementWriter<Complex>
,PsiXmlElementWriter<Complex>
,PsiXmlInteractionWriter<Complex>
public class XmlComplexWriter extends AbstractXmlModelledInteractionWriter<Complex> implements ExpandedPsiXmlElementWriter<Complex>
Expanded XML 2.5 writer for a biological complex (ignore experimental details). It will write cooperative effects as attributes- Since:
18/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlComplexWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlComplexWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Experiment
extractDefaultExperimentFrom(Complex interaction)
extractDefaultExperimentFrom.protected void
initialiseParticipantWriter()
initialiseParticipantWriter.protected CvTerm
writeExperiments(Complex object)
writeExperiments.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlModelledInteractionWriter
initialiseConfidenceWriter, initialiseDefaultExperiment, initialiseExperimentWriter, initialiseInferredInteractionWriter, initialiseInteractionTypeWriter, initialiseParameterWriter, initialiseXrefWriter, setDefaultExperiment, writeCooperativeEffect, writeCooperativeEffectAttribute, writeInferredInteractions, writeOtherProperties, writeStartInteraction
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlModelledInteractionWriter
getAliasWriter, getConfidenceWriter, getParameterWriter, setAliasWriter, setConfidenceWriter, setParameterWriter, writeAttributes, writeAvailability, writeConfidences, writeModelled, writeNames, writeNegative, writeOtherAttributes, writeParameters
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionWriter
collectInferredInteractionsFrom, getAttributeWriter, getChecksumWriter, getDefaultExperiment, getExperimentWriter, getInferredInteractionWriter, getInteractionTypeWriter, getObjectIndex, getParticipantWriter, getStreamWriter, getVersion, getXrefWriter, newExperiment, newPublication, newPublication, newXmlCvTerm, setAttributeWriter, setChecksumWriter, setComplexAsInteractor, setExperimentWriter, setInferredInteractionWriter, setInteractionTypeWriter, setParticipantWriter, setXrefWriter, write, writeAttribute, writeComplexAsInteractor, writeExperimentDescription, writeExperimentRef, writeInteractionType, writeIntraMolecular, 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
-
-
-
-
Constructor Detail
-
XmlComplexWriter
public XmlComplexWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlComplexWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseParticipantWriter
protected void initialiseParticipantWriter()
initialiseParticipantWriter.
- Specified by:
initialiseParticipantWriter
in classAbstractXmlInteractionWriter<Complex,ModelledParticipant>
-
writeExperiments
protected CvTerm writeExperiments(Complex object) throws XMLStreamException
writeExperiments.
- Overrides:
writeExperiments
in classAbstractXmlModelledInteractionWriter<Complex>
- Parameters:
object
- a T object.- Returns:
- a
CvTerm
object. - Throws:
XMLStreamException
- if any.
-
extractDefaultExperimentFrom
public Experiment extractDefaultExperimentFrom(Complex interaction)
extractDefaultExperimentFrom.
- Specified by:
extractDefaultExperimentFrom
in interfacePsiXmlInteractionWriter<Complex>
- Overrides:
extractDefaultExperimentFrom
in classAbstractXmlModelledInteractionWriter<Complex>
- Parameters:
interaction
- a T object.- Returns:
- the default experiment for this interaction
-
-