Class ExpandedXmlNamedWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.AbstractXmlWriter<T>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.AbstractExpandedXmlWriter<I>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.AbstractExpandedXmlMixWriter<Interaction,ModelledInteraction,InteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.ExpandedXmlNamedWriter
-
- All Implemented Interfaces:
InteractionWriter<Interaction>
public class ExpandedXmlNamedWriter extends AbstractExpandedXmlMixWriter<Interaction,ModelledInteraction,InteractionEvidence>
Expanded 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 ExpandedXmlNamedWriter(PsiXmlVersion version)
Constructor for ExpandedXmlNamedWriter.ExpandedXmlNamedWriter(PsiXmlVersion version, File file)
Constructor for ExpandedXmlNamedWriter.ExpandedXmlNamedWriter(PsiXmlVersion version, OutputStream output)
Constructor for ExpandedXmlNamedWriter.ExpandedXmlNamedWriter(PsiXmlVersion version, Writer writer)
Constructor for ExpandedXmlNamedWriter.
-
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.expanded.AbstractExpandedXmlMixWriter
close, flush, getEvidenceWriter, getLightWriter, getModelledWriter, initialiseSubWriters, reset, setComplexWriter, setDefaultReleaseDate, setDefaultSource, setElementCache, setEvidenceWriter, setInteractionSet, setLightWriter, setModelledWriter, setSourceWriter, setVersion, setWriteComplexesAsInteractors, write, write, write
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.expanded.AbstractExpandedXmlWriter
getInteractionType, initialiseDefaultElementCache, initialiseOptionalWriters, writeComplex, writeInteraction, 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, initialiseContext, initialiseDefaultInteractionSet, initialiseDefaultSource, initialiseSubWriters, isStarted, newXmlSource, setAnnotationsWriter, setCurrentInteraction, setCurrentSource, setEntryAnnotations, setInteractionsIterator, setInteractionWriter, setStarted, setSubWritersFactory, start, writeComplexesAsInteractors, writeEndEntry, writeEndEntryContent, writeEndInteractionList, writeEntryAttributes, writeEntrySetAttributes, writeInteractionListContent, writeSource, writeStartEntry, writeStartInteractionList, writeSubComplexInEntry
-
-
-
-
Constructor Detail
-
ExpandedXmlNamedWriter
public ExpandedXmlNamedWriter(PsiXmlVersion version)
Constructor for ExpandedXmlNamedWriter.
- Parameters:
version
- aPsiXmlVersion
object.
-
ExpandedXmlNamedWriter
public ExpandedXmlNamedWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for ExpandedXmlNamedWriter.
- Parameters:
version
- aPsiXmlVersion
object.file
- aFile
object.- Throws:
IOException
- if any.XMLStreamException
- if any.
-
ExpandedXmlNamedWriter
public ExpandedXmlNamedWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for ExpandedXmlNamedWriter.
- Parameters:
version
- aPsiXmlVersion
object.output
- aOutputStream
object.- Throws:
XMLStreamException
- if any.
-
ExpandedXmlNamedWriter
public ExpandedXmlNamedWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for ExpandedXmlNamedWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aWriter
object.- Throws:
XMLStreamException
- if any.
-
-
Method Detail
-
initialiseDelegateWriters
protected void initialiseDelegateWriters()
initialiseDelegateWriters.
- Specified by:
initialiseDelegateWriters
in classAbstractExpandedXmlMixWriter<Interaction,ModelledInteraction,InteractionEvidence>
-
-