Class XmlBasicBinaryInteractionWriter
- 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<BinaryInteraction>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.expanded.xml25.XmlBasicBinaryInteractionWriter
-
- All Implemented Interfaces:
ExpandedPsiXmlElementWriter<BinaryInteraction>,PsiXmlElementWriter<BinaryInteraction>,PsiXmlInteractionWriter<BinaryInteraction>
- Direct Known Subclasses:
XmlNamedBinaryInteractionWriter
public class XmlBasicBinaryInteractionWriter extends AbstractXmlInteractionWriter<BinaryInteraction> implements ExpandedPsiXmlElementWriter<BinaryInteraction>
Expanded XML 2.5 writer for a basic binary interaction (ignore experimental details)- Since:
15/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlBasicBinaryInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)Constructor for XmlBasicBinaryInteractionWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitialiseParticipantWriter()initialiseParticipantWriter.protected voidwriteAttributes(BinaryInteraction object)writeAttributes.protected CvTermwriteExperiments(BinaryInteraction object)writeExperiments.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlInteractionWriter
initialiseExperimentWriter, initialiseInferredInteractionWriter, initialiseInteractionTypeWriter, initialiseXrefWriter, writeAvailability, writeConfidences, writeInferredInteractions, writeIntraMolecular, 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, writeComplexAsInteractor, writeExperimentDescription, writeExperimentRef, writeInteractionType, writeNames, 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
-
XmlBasicBinaryInteractionWriter
public XmlBasicBinaryInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlBasicBinaryInteractionWriter.
- Parameters:
version- aPsiXmlVersionobject.writer- aXMLStreamWriterobject.objectIndex- aPsiXmlObjectCacheobject.
-
-
Method Detail
-
initialiseParticipantWriter
protected void initialiseParticipantWriter()
initialiseParticipantWriter.
- Specified by:
initialiseParticipantWriterin classAbstractXmlInteractionWriter<BinaryInteraction,Participant>
-
writeExperiments
protected CvTerm writeExperiments(BinaryInteraction object) throws XMLStreamException
writeExperiments.
- Specified by:
writeExperimentsin classAbstractXmlInteractionWriter<BinaryInteraction,Participant>- Parameters:
object- a T object.- Returns:
- a
CvTermobject. - Throws:
XMLStreamException- if any.
-
writeAttributes
protected void writeAttributes(BinaryInteraction object) throws XMLStreamException
writeAttributes.
- Overrides:
writeAttributesin classAbstractXmlInteractionWriter<BinaryInteraction,Participant>- Parameters:
object- a T object.- Throws:
XMLStreamException- if any.
-
-