Class CompactXmlModelledBinaryWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.AbstractXmlWriter<T>
-
- psidev.psi.mi.jami.xml.io.writer.compact.AbstractCompactXmlWriter<ModelledBinaryInteraction>
-
- psidev.psi.mi.jami.xml.io.writer.compact.extended.CompactXmlModelledBinaryWriter
-
- All Implemented Interfaces:
InteractionWriter<ModelledBinaryInteraction>
public class CompactXmlModelledBinaryWriter extends AbstractCompactXmlWriter<ModelledBinaryInteraction>
Compact PSI-XML writer for modelled binary interactions (no experimental evidences)- Since:
19/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description CompactXmlModelledBinaryWriter(PsiXmlVersion version)
Constructor for CompactXmlModelledBinaryWriter.CompactXmlModelledBinaryWriter(PsiXmlVersion version, File file)
Constructor for CompactXmlModelledBinaryWriter.CompactXmlModelledBinaryWriter(PsiXmlVersion version, OutputStream output)
Constructor for CompactXmlModelledBinaryWriter.CompactXmlModelledBinaryWriter(PsiXmlVersion version, Writer writer)
Constructor for CompactXmlModelledBinaryWriter.CompactXmlModelledBinaryWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache cache)
Constructor for CompactXmlModelledBinaryWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Source
extractSourceFromInteraction()
extractSourceFromInteraction.protected void
initialiseDefaultSource()
initialiseDefaultSource.protected void
initialiseSubWriters()
initialiseSubWriters.protected void
registerAvailabilities(ModelledBinaryInteraction interaction)
registerAvailabilities.protected void
registerExperiment(ModelledBinaryInteraction interaction)
registerExperiment.protected void
registerInteractionProperties()
registerInteractionProperties.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.compact.AbstractCompactXmlWriter
close, getAvailabilities, getAvailabilityWriter, getExperiments, getExperimentWriter, getInteractionType, getInteractors, getInteractorWriter, initialiseContext, initialiseDefaultAvailabilitySet, initialiseDefaultElementCache, initialiseDefaultExperimentSet, initialiseDefaultInteractorSet, initialiseOptionalWriters, registerAllInteractionsProperties, registerAllInteractors, registerAllInteractorsAndExperimentsFrom, registerParticipantInteractor, registerParticipantPoolInteractor, reset, setAvailabilitySet, setAvailabilityWriter, setExperimentSet, setExperimentWriter, setInteractorSet, setInteractorWriter, writeStartEntryContent
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.AbstractXmlWriter
end, flush, getComplexWriter, getCurrentInteraction, getCurrentSource, getElementCache, getInteractionsIterator, getInteractionWriter, getProcessedInteractions, getStreamWriter, getSubWritersFactory, getVersion, initialiseDefaultInteractionSet, initialiseSubWriters, isStarted, newXmlSource, setAnnotationsWriter, setComplexWriter, setCurrentInteraction, setCurrentSource, setDefaultReleaseDate, setDefaultSource, setElementCache, setEntryAnnotations, setInteractionSet, setInteractionsIterator, setInteractionWriter, setSourceWriter, setStarted, setSubWritersFactory, setVersion, setWriteComplexesAsInteractors, start, write, write, write, writeComplex, writeComplexesAsInteractors, writeEndEntry, writeEndEntryContent, writeEndInteractionList, writeEntryAttributes, writeEntrySetAttributes, writeInteraction, writeInteractionListContent, writeSource, writeStartEntry, writeStartInteractionList, writeSubComplexInEntry
-
-
-
-
Constructor Detail
-
CompactXmlModelledBinaryWriter
public CompactXmlModelledBinaryWriter(PsiXmlVersion version)
Constructor for CompactXmlModelledBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.
-
CompactXmlModelledBinaryWriter
public CompactXmlModelledBinaryWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for CompactXmlModelledBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.file
- aFile
object.- Throws:
IOException
- if any.XMLStreamException
- if any.
-
CompactXmlModelledBinaryWriter
public CompactXmlModelledBinaryWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for CompactXmlModelledBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.output
- aOutputStream
object.- Throws:
XMLStreamException
- if any.
-
CompactXmlModelledBinaryWriter
public CompactXmlModelledBinaryWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for CompactXmlModelledBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aWriter
object.- Throws:
XMLStreamException
- if any.
-
CompactXmlModelledBinaryWriter
public CompactXmlModelledBinaryWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache cache)
Constructor for CompactXmlModelledBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.streamWriter
- aXMLStreamWriter
object.cache
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
registerAvailabilities
protected void registerAvailabilities(ModelledBinaryInteraction interaction)
registerAvailabilities.
- Specified by:
registerAvailabilities
in classAbstractCompactXmlWriter<ModelledBinaryInteraction>
- Parameters:
interaction
- a T object.
-
registerInteractionProperties
protected void registerInteractionProperties()
registerInteractionProperties.
- Overrides:
registerInteractionProperties
in classAbstractCompactXmlWriter<ModelledBinaryInteraction>
-
registerExperiment
protected void registerExperiment(ModelledBinaryInteraction interaction)
registerExperiment.
- Specified by:
registerExperiment
in classAbstractCompactXmlWriter<ModelledBinaryInteraction>
- Parameters:
interaction
- a T object.
-
extractSourceFromInteraction
protected Source extractSourceFromInteraction()
extractSourceFromInteraction.
- Overrides:
extractSourceFromInteraction
in classAbstractXmlWriter<ModelledBinaryInteraction>
- Returns:
- a
Source
object.
-
initialiseSubWriters
protected void initialiseSubWriters()
initialiseSubWriters.
- Specified by:
initialiseSubWriters
in classAbstractXmlWriter<ModelledBinaryInteraction>
-
initialiseDefaultSource
protected void initialiseDefaultSource()
initialiseDefaultSource.
- Overrides:
initialiseDefaultSource
in classAbstractXmlWriter<ModelledBinaryInteraction>
-
-