Class CompactXmlNamedWriter
- 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<Interaction,ModelledInteraction,InteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.compact.CompactXmlNamedWriter
-
- All Implemented Interfaces:
InteractionWriter<Interaction>
public class CompactXmlNamedWriter extends AbstractCompactXmlMixWriter<Interaction,ModelledInteraction,InteractionEvidence>
Compact PSI-XML writer for a mix of named interactions- Since:
19/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description CompactXmlNamedWriter(PsiXmlVersion version)
Constructor for CompactXmlNamedWriter.CompactXmlNamedWriter(PsiXmlVersion version, File file)
Constructor for CompactXmlNamedWriter.CompactXmlNamedWriter(PsiXmlVersion version, OutputStream output)
Constructor for CompactXmlNamedWriter.CompactXmlNamedWriter(PsiXmlVersion version, Writer writer)
Constructor for CompactXmlNamedWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, initialiseDefaultSource, 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
-
CompactXmlNamedWriter
public CompactXmlNamedWriter(PsiXmlVersion version)
Constructor for CompactXmlNamedWriter.
- Parameters:
version
- aPsiXmlVersion
object.
-
CompactXmlNamedWriter
public CompactXmlNamedWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for CompactXmlNamedWriter.
- Parameters:
version
- aPsiXmlVersion
object.file
- aFile
object.- Throws:
IOException
- if any.XMLStreamException
- if any.
-
CompactXmlNamedWriter
public CompactXmlNamedWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for CompactXmlNamedWriter.
- Parameters:
version
- aPsiXmlVersion
object.output
- aOutputStream
object.- Throws:
XMLStreamException
- if any.
-
CompactXmlNamedWriter
public CompactXmlNamedWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for CompactXmlNamedWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aWriter
object.- Throws:
XMLStreamException
- if any.
-
-
Method Detail
-
initialiseDelegateWriters
protected void initialiseDelegateWriters()
initialiseDelegateWriters.
- Specified by:
initialiseDelegateWriters
in classAbstractCompactXmlMixWriter<Interaction,ModelledInteraction,InteractionEvidence>
-
-