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<I>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.xml25.AbstractXmlInteractionWriter<BinaryInteraction>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.compact.xml25.XmlBasicBinaryInteractionWriter
-
- All Implemented Interfaces:
CompactPsiXmlElementWriter<BinaryInteraction>
,PsiXmlElementWriter<BinaryInteraction>
,PsiXmlExtendedInteractionWriter<BinaryInteraction>
,PsiXmlInteractionWriter<BinaryInteraction>
public class XmlBasicBinaryInteractionWriter extends AbstractXmlInteractionWriter<BinaryInteraction> implements CompactPsiXmlElementWriter<BinaryInteraction>
Compact XML 2.5 writer for a basic binary interaction (ignore experimental details) which has 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 XmlBasicBinaryInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlBasicBinaryInteractionWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseParticipantWriter()
initialiseParticipantWriter.protected void
writeAttributes(BinaryInteraction object)
writeAttributes.protected CvTerm
writeExperiments(BinaryInteraction 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, 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
-
XmlBasicBinaryInteractionWriter
public XmlBasicBinaryInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlBasicBinaryInteractionWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseParticipantWriter
protected void initialiseParticipantWriter()
initialiseParticipantWriter.
- Specified by:
initialiseParticipantWriter
in classAbstractXmlInteractionWriter<BinaryInteraction,Participant>
-
writeExperiments
protected CvTerm writeExperiments(BinaryInteraction object) throws XMLStreamException
writeExperiments.
- Specified by:
writeExperiments
in classAbstractXmlInteractionWriter<BinaryInteraction,Participant>
- Parameters:
object
- a T object.- Returns:
- a
CvTerm
object. - Throws:
XMLStreamException
- if any.
-
writeAttributes
protected void writeAttributes(BinaryInteraction object) throws XMLStreamException
writeAttributes.
- Overrides:
writeAttributes
in classAbstractXmlInteractionWriter<BinaryInteraction,Participant>
- Parameters:
object
- a T object.- Throws:
XMLStreamException
- if any.
-
-