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