Class XmlBinaryInteractionEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionWriter<I,ParticipantEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionEvidenceWriter<I>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlInteractionEvidenceWriter<BinaryInteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.expanded.xml25.XmlBinaryInteractionEvidenceWriter
-
- All Implemented Interfaces:
ExpandedPsiXmlElementWriter<BinaryInteractionEvidence>
,PsiXmlElementWriter<BinaryInteractionEvidence>
,PsiXmlInteractionWriter<BinaryInteractionEvidence>
- Direct Known Subclasses:
XmlNamedBinaryInteractionEvidenceWriter
public class XmlBinaryInteractionEvidenceWriter extends AbstractXmlInteractionEvidenceWriter<BinaryInteractionEvidence> implements ExpandedPsiXmlElementWriter<BinaryInteractionEvidence>
Expanded XML 2.5 writer for a binary interaction evidence (with full experimental details).- Since:
18/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlBinaryInteractionEvidenceWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlBinaryInteractionEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseParticipantWriter()
initialiseParticipantWriter.protected void
writeAttributes(BinaryInteractionEvidence object)
writeAttributes.protected void
writeAvailability(BinaryInteractionEvidence object)
writeAvailability.protected CvTerm
writeExperiments(BinaryInteractionEvidence object)
writeExperiments.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlInteractionEvidenceWriter
initialiseConfidenceWriter, initialiseExperimentWriter, initialiseInferredInteractionWriter, initialiseInteractionTypeWriter, initialiseParameterWriter, initialiseXrefWriter, writeOtherProperties
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionEvidenceWriter
extractDefaultExperimentFrom, getAvailabilityWriter, getConfidenceWriter, getParameterWriter, initialiseAvaliabilityWriter, initialiseDefaultExperiment, setAvailabilityWriter, setConfidenceWriter, setDefaultExperiment, setParameterWriter, writeAvailabilityDescription, writeAvailabilityRef, writeConfidences, writeInferredInteractions, writeModelled, writeNegative, writeOtherAttributes, writeParameters, writeStartInteraction
-
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, 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
-
XmlBinaryInteractionEvidenceWriter
public XmlBinaryInteractionEvidenceWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlBinaryInteractionEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseParticipantWriter
protected void initialiseParticipantWriter()
initialiseParticipantWriter.
- Specified by:
initialiseParticipantWriter
in classAbstractXmlInteractionWriter<BinaryInteractionEvidence,ParticipantEvidence>
-
writeAvailability
protected void writeAvailability(BinaryInteractionEvidence object) throws XMLStreamException
writeAvailability.
- Specified by:
writeAvailability
in classAbstractXmlInteractionWriter<BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
object
- a T object.- Throws:
XMLStreamException
- if any.
-
writeExperiments
protected CvTerm writeExperiments(BinaryInteractionEvidence object) throws XMLStreamException
writeExperiments.
- Overrides:
writeExperiments
in classAbstractXmlInteractionEvidenceWriter<BinaryInteractionEvidence>
- Parameters:
object
- a T object.- Returns:
- a
CvTerm
object. - Throws:
XMLStreamException
- if any.
-
writeAttributes
protected void writeAttributes(BinaryInteractionEvidence object) throws XMLStreamException
writeAttributes.
- Overrides:
writeAttributes
in classAbstractXmlInteractionWriter<BinaryInteractionEvidence,ParticipantEvidence>
- Parameters:
object
- a T object.- Throws:
XMLStreamException
- if any.
-
-