Class XmlModelledBinaryInteractionWriter
- 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<ModelledBinaryInteraction>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.compact.xml25.XmlModelledBinaryInteractionWriter
-
- All Implemented Interfaces:
CompactPsiXmlElementWriter<ModelledBinaryInteraction>
,PsiXmlElementWriter<ModelledBinaryInteraction>
,PsiXmlInteractionWriter<ModelledBinaryInteraction>
- Direct Known Subclasses:
XmlNamedModelledBinaryInteractionWriter
public class XmlModelledBinaryInteractionWriter extends AbstractXmlModelledInteractionWriter<ModelledBinaryInteraction> implements CompactPsiXmlElementWriter<ModelledBinaryInteraction>
Compact XML 2.5 writer for a modelled binary interaction (ignore experimental details). It will write cooperative effects as attributes- Since:
15/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlModelledBinaryInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlModelledBinaryInteractionWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseParticipantWriter()
initialiseParticipantWriter.protected void
writeAttributes(ModelledBinaryInteraction object)
writeAttributes.protected CvTerm
writeExperiments(ModelledBinaryInteraction object)
writeExperiments.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlModelledInteractionWriter
extractDefaultExperimentFrom, 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, 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
-
XmlModelledBinaryInteractionWriter
public XmlModelledBinaryInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlModelledBinaryInteractionWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseParticipantWriter
protected void initialiseParticipantWriter()
initialiseParticipantWriter.
- Specified by:
initialiseParticipantWriter
in classAbstractXmlInteractionWriter<ModelledBinaryInteraction,ModelledParticipant>
-
writeExperiments
protected CvTerm writeExperiments(ModelledBinaryInteraction object) throws XMLStreamException
writeExperiments.
- Overrides:
writeExperiments
in classAbstractXmlModelledInteractionWriter<ModelledBinaryInteraction>
- Parameters:
object
- a T object.- Returns:
- a
CvTerm
object. - Throws:
XMLStreamException
- if any.
-
writeAttributes
protected void writeAttributes(ModelledBinaryInteraction object) throws XMLStreamException
writeAttributes.
- Overrides:
writeAttributes
in classAbstractXmlModelledInteractionWriter<ModelledBinaryInteraction>
- Parameters:
object
- a T object.- Throws:
XMLStreamException
- if any.
-
-