Class CompactXmlWriter
- 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.extended.CompactXmlWriter
-
- All Implemented Interfaces:
InteractionWriter<Interaction>
public class CompactXmlWriter extends AbstractCompactXmlMixWriter<Interaction,ModelledInteraction,InteractionEvidence>
Compact PSI-XML writer for a mix of interactions- Since:
19/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description CompactXmlWriter(PsiXmlVersion version)
Constructor for CompactXmlWriter.CompactXmlWriter(PsiXmlVersion version, File file)
Constructor for CompactXmlWriter.CompactXmlWriter(PsiXmlVersion version, OutputStream output)
Constructor for CompactXmlWriter.CompactXmlWriter(PsiXmlVersion version, Writer writer)
Constructor for CompactXmlWriter.
-
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
-
CompactXmlWriter
public CompactXmlWriter(PsiXmlVersion version)
Constructor for CompactXmlWriter.
- Parameters:
version
- aPsiXmlVersion
object.
-
CompactXmlWriter
public CompactXmlWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for CompactXmlWriter.
- Parameters:
version
- aPsiXmlVersion
object.file
- aFile
object.- Throws:
IOException
- if any.XMLStreamException
- if any.
-
CompactXmlWriter
public CompactXmlWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for CompactXmlWriter.
- Parameters:
version
- aPsiXmlVersion
object.output
- aOutputStream
object.- Throws:
XMLStreamException
- if any.
-
CompactXmlWriter
public CompactXmlWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for CompactXmlWriter.
- 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>
-
initialiseDefaultSource
protected void initialiseDefaultSource()
initialiseDefaultSource.
- Overrides:
initialiseDefaultSource
in classAbstractXmlWriter<Interaction>
-
-