Class LightExpandedXmlNamedBinaryWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.AbstractXmlWriter<T>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.AbstractExpandedXmlWriter<BinaryInteraction>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.LightExpandedXmlNamedBinaryWriter
-
- All Implemented Interfaces:
InteractionWriter<BinaryInteraction>
public class LightExpandedXmlNamedBinaryWriter extends AbstractExpandedXmlWriter<BinaryInteraction>
Expanded PSI-XML writer for light binary interactions (no experimental evidences) having names. Participants, experiments and features are also assumed to have expanded names- Since:
19/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version)
Constructor for LightExpandedXmlNamedBinaryWriter.LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version, File file)
Constructor for LightExpandedXmlNamedBinaryWriter.LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version, OutputStream output)
Constructor for LightExpandedXmlNamedBinaryWriter.LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version, Writer writer)
Constructor for LightExpandedXmlNamedBinaryWriter.LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache cache)
Constructor for LightExpandedXmlNamedBinaryWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseSubWriters()
initialiseSubWriters.-
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
close, end, extractSourceFromInteraction, flush, getComplexWriter, getCurrentInteraction, getCurrentSource, getElementCache, getInteractionsIterator, getInteractionWriter, getProcessedInteractions, getStreamWriter, getSubWritersFactory, getVersion, initialiseContext, initialiseDefaultInteractionSet, initialiseDefaultSource, initialiseSubWriters, isStarted, newXmlSource, reset, setAnnotationsWriter, setComplexWriter, setCurrentInteraction, setCurrentSource, setDefaultReleaseDate, setDefaultSource, setElementCache, setEntryAnnotations, setInteractionSet, setInteractionsIterator, setInteractionWriter, setSourceWriter, setStarted, setSubWritersFactory, setVersion, setWriteComplexesAsInteractors, start, write, write, write, writeComplexesAsInteractors, writeEndEntry, writeEndEntryContent, writeEndInteractionList, writeEntryAttributes, writeEntrySetAttributes, writeInteractionListContent, writeSource, writeStartEntry, writeStartInteractionList, writeSubComplexInEntry
-
-
-
-
Constructor Detail
-
LightExpandedXmlNamedBinaryWriter
public LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version)
Constructor for LightExpandedXmlNamedBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.
-
LightExpandedXmlNamedBinaryWriter
public LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for LightExpandedXmlNamedBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.file
- aFile
object.- Throws:
IOException
- if any.XMLStreamException
- if any.
-
LightExpandedXmlNamedBinaryWriter
public LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for LightExpandedXmlNamedBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.output
- aOutputStream
object.- Throws:
XMLStreamException
- if any.
-
LightExpandedXmlNamedBinaryWriter
public LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for LightExpandedXmlNamedBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aWriter
object.- Throws:
XMLStreamException
- if any.
-
LightExpandedXmlNamedBinaryWriter
public LightExpandedXmlNamedBinaryWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache cache)
Constructor for LightExpandedXmlNamedBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.streamWriter
- aXMLStreamWriter
object.cache
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseSubWriters
protected void initialiseSubWriters()
initialiseSubWriters.
- Specified by:
initialiseSubWriters
in classAbstractXmlWriter<BinaryInteraction>
-
-