Class AbstractXmlInteractionWriter<T extends Interaction>
- 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<T>
-
- All Implemented Interfaces:
PsiXmlElementWriter<T>
,PsiXmlInteractionWriter<T>
- Direct Known Subclasses:
AbstractXmlInteractionWriter
,XmlBasicBinaryInteractionWriter
,XmlBasicBinaryInteractionWriter
,XmlBasicInteractionWriter
,XmlBasicInteractionWriter
public abstract class AbstractXmlInteractionWriter<T extends Interaction> extends AbstractXmlInteractionWriter<T,Participant>
Abstract writer of interaction in PSI-XML 2.5- Since:
12/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlInteractionWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseExperimentWriter()
initialiseExperimentWriter.protected void
initialiseInferredInteractionWriter()
initialiseInferredInteractionWriter.protected void
initialiseInteractionTypeWriter()
initialiseInteractionTypeWriter.protected void
initialiseXrefWriter()
initialiseXrefWriter.protected void
writeAvailability(T object)
writeAvailability.protected void
writeConfidences(T object)
writeConfidences.protected void
writeInferredInteractions(T object)
writeInferredInteractions.protected void
writeIntraMolecular(T object)
writeIntraMolecular.protected void
writeModelled(T object)
writeModelled.protected void
writeNegative(T object)
writeNegative.protected void
writeOtherAttributes(T object)
writeOtherAttributes.protected void
writeOtherProperties(T object)
writeOtherProperties.protected void
writeParameters(T object)
writeParameters.protected void
writeStartInteraction()
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, initialiseParticipantWriter, newExperiment, newPublication, newPublication, newXmlCvTerm, setAttributeWriter, setChecksumWriter, setComplexAsInteractor, setDefaultExperiment, setExperimentWriter, setInferredInteractionWriter, setInteractionTypeWriter, setParticipantWriter, setXrefWriter, write, writeAttribute, writeAttributes, writeComplexAsInteractor, writeExperimentDescription, writeExperimentRef, writeExperiments, writeInteractionType, writeNames, writeParticipants, writeXref, writeXrefFromInteractionIdentifiers, writeXrefFromInteractionXrefs
-
-
-
-
Constructor Detail
-
AbstractXmlInteractionWriter
public AbstractXmlInteractionWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlInteractionWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriter
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
-
initialiseExperimentWriter
protected void initialiseExperimentWriter()
initialiseExperimentWriter.
- Specified by:
initialiseExperimentWriter
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
-
initialiseInferredInteractionWriter
protected void initialiseInferredInteractionWriter()
initialiseInferredInteractionWriter.
- Specified by:
initialiseInferredInteractionWriter
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
-
initialiseInteractionTypeWriter
protected void initialiseInteractionTypeWriter()
initialiseInteractionTypeWriter.
- Specified by:
initialiseInteractionTypeWriter
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
-
writeInferredInteractions
protected void writeInferredInteractions(T object) throws XMLStreamException
writeInferredInteractions.
- Specified by:
writeInferredInteractions
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.- Throws:
XMLStreamException
- if any.
-
writeAvailability
protected void writeAvailability(T object)
writeAvailability.
- Specified by:
writeAvailability
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.
-
writeOtherAttributes
protected void writeOtherAttributes(T object)
writeOtherAttributes.
- Specified by:
writeOtherAttributes
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.
-
writeIntraMolecular
protected void writeIntraMolecular(T object) throws XMLStreamException
writeIntraMolecular.
- Overrides:
writeIntraMolecular
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.- Throws:
XMLStreamException
- if any.
-
writeModelled
protected void writeModelled(T object)
writeModelled.
- Specified by:
writeModelled
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.
-
writeParameters
protected void writeParameters(T object)
writeParameters.
- Specified by:
writeParameters
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.
-
writeConfidences
protected void writeConfidences(T object)
writeConfidences.
- Specified by:
writeConfidences
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.
-
writeNegative
protected void writeNegative(T object)
writeNegative.
- Specified by:
writeNegative
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.
-
writeOtherProperties
protected void writeOtherProperties(T object)
writeOtherProperties.
- Specified by:
writeOtherProperties
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Parameters:
object
- a T object.
-
writeStartInteraction
protected void writeStartInteraction() throws XMLStreamException
writeStartInteraction.
- Specified by:
writeStartInteraction
in classAbstractXmlInteractionWriter<T extends Interaction,Participant>
- Throws:
XMLStreamException
- if any.
-
-