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 voidinitialiseExperimentWriter()initialiseExperimentWriter.protected voidinitialiseInferredInteractionWriter()initialiseInferredInteractionWriter.protected voidinitialiseInteractionTypeWriter()initialiseInteractionTypeWriter.protected voidinitialiseXrefWriter()initialiseXrefWriter.protected voidwriteAvailability(T object)writeAvailability.protected voidwriteConfidences(T object)writeConfidences.protected voidwriteInferredInteractions(T object)writeInferredInteractions.protected voidwriteIntraMolecular(T object)writeIntraMolecular.protected voidwriteModelled(T object)writeModelled.protected voidwriteNegative(T object)writeNegative.protected voidwriteOtherAttributes(T object)writeOtherAttributes.protected voidwriteOtherProperties(T object)writeOtherProperties.protected voidwriteParameters(T object)writeParameters.protected voidwriteStartInteraction()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- aPsiXmlVersionobject.writer- aXMLStreamWriterobject.objectIndex- aPsiXmlObjectCacheobject.
-
-
Method Detail
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriterin classAbstractXmlInteractionWriter<T extends Interaction,Participant>
-
initialiseExperimentWriter
protected void initialiseExperimentWriter()
initialiseExperimentWriter.
- Specified by:
initialiseExperimentWriterin classAbstractXmlInteractionWriter<T extends Interaction,Participant>
-
initialiseInferredInteractionWriter
protected void initialiseInferredInteractionWriter()
initialiseInferredInteractionWriter.
- Specified by:
initialiseInferredInteractionWriterin classAbstractXmlInteractionWriter<T extends Interaction,Participant>
-
initialiseInteractionTypeWriter
protected void initialiseInteractionTypeWriter()
initialiseInteractionTypeWriter.
- Specified by:
initialiseInteractionTypeWriterin classAbstractXmlInteractionWriter<T extends Interaction,Participant>
-
writeInferredInteractions
protected void writeInferredInteractions(T object) throws XMLStreamException
writeInferredInteractions.
- Specified by:
writeInferredInteractionsin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.- Throws:
XMLStreamException- if any.
-
writeAvailability
protected void writeAvailability(T object)
writeAvailability.
- Specified by:
writeAvailabilityin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.
-
writeOtherAttributes
protected void writeOtherAttributes(T object)
writeOtherAttributes.
- Specified by:
writeOtherAttributesin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.
-
writeIntraMolecular
protected void writeIntraMolecular(T object) throws XMLStreamException
writeIntraMolecular.
- Overrides:
writeIntraMolecularin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.- Throws:
XMLStreamException- if any.
-
writeModelled
protected void writeModelled(T object)
writeModelled.
- Specified by:
writeModelledin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.
-
writeParameters
protected void writeParameters(T object)
writeParameters.
- Specified by:
writeParametersin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.
-
writeConfidences
protected void writeConfidences(T object)
writeConfidences.
- Specified by:
writeConfidencesin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.
-
writeNegative
protected void writeNegative(T object)
writeNegative.
- Specified by:
writeNegativein classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.
-
writeOtherProperties
protected void writeOtherProperties(T object)
writeOtherProperties.
- Specified by:
writeOtherPropertiesin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Parameters:
object- a T object.
-
writeStartInteraction
protected void writeStartInteraction() throws XMLStreamExceptionwriteStartInteraction.
- Specified by:
writeStartInteractionin classAbstractXmlInteractionWriter<T extends Interaction,Participant>- Throws:
XMLStreamException- if any.
-
-