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.xml30.AbstractXmlModelledInteractionWriter<ModelledBinaryInteraction>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.compact.xml30.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 3.0 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(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.protected void
writeOtherProperties(ModelledBinaryInteraction object)
writeOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml30.AbstractXmlModelledInteractionWriter
getAllosteryWriter, getBindingFeaturesWriter, getCausalRelationshipWriter, getOrganismWriter, getPreAssemblyWriter, initialiseCausalRelationshipWriter, initialiseConfidenceWriter, initialiseExperimentWriter, initialiseInferredInteractionWriter, initialiseInteractionTypeWriter, initialiseParameterWriter, initialiseXrefWriter, setAllosteryWriter, setBindingFeaturesWriter, setCausalRelationshipWriter, setOrganismWriter, setPreAssemblyWriter, writeCausalRelationships, writeCooperativeEffect, writeCooperativeEffects, writeEvidenceType, writeExperimentDescription, writeExperimentRef, writeInferredInteractions, writeInteractorType, writeOrganism, writeStartInteraction
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlModelledInteractionWriter
getAliasWriter, getConfidenceWriter, getParameterWriter, initialiseDefaultExperiment, setAliasWriter, setConfidenceWriter, setDefaultExperiment, setParameterWriter, writeAvailability, writeConfidences, writeModelled, writeNames, writeNegative, writeOtherAttributes, writeParameters
-
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, newExperiment, newPublication, newPublication, newXmlCvTerm, setAttributeWriter, setChecksumWriter, setComplexAsInteractor, setExperimentWriter, setInferredInteractionWriter, setInteractionTypeWriter, setParticipantWriter, setXrefWriter, write, writeAttribute, writeComplexAsInteractor, 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(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlModelledBinaryInteractionWriter.
- Parameters:
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.
-
writeOtherProperties
protected void writeOtherProperties(ModelledBinaryInteraction object) throws XMLStreamException
writeOtherProperties.
- Overrides:
writeOtherProperties
in classAbstractXmlModelledInteractionWriter<ModelledBinaryInteraction>
- Parameters:
object
- a T 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.
-
-