Class ExpandedXmlBinaryWriter
- 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<BinaryInteraction,ModelledBinaryInteraction,BinaryInteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.extended.ExpandedXmlBinaryWriter
-
- All Implemented Interfaces:
InteractionWriter<BinaryInteraction>
public class ExpandedXmlBinaryWriter extends AbstractExpandedXmlMixWriter<BinaryInteraction,ModelledBinaryInteraction,BinaryInteractionEvidence>
Expanded 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 ExpandedXmlBinaryWriter(PsiXmlVersion version)
Constructor for ExpandedXmlBinaryWriter.ExpandedXmlBinaryWriter(PsiXmlVersion version, File file)
Constructor for ExpandedXmlBinaryWriter.ExpandedXmlBinaryWriter(PsiXmlVersion version, OutputStream output)
Constructor for ExpandedXmlBinaryWriter.ExpandedXmlBinaryWriter(PsiXmlVersion version, Writer writer)
Constructor for ExpandedXmlBinaryWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseDefaultSource()
initialiseDefaultSource.protected void
initialiseDelegateWriters()
initialiseDelegateWriters.protected void
writeComplex(ModelledInteraction modelled)
writeComplex.protected void
writeInteraction()
writeInteraction.-
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, 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, 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
-
ExpandedXmlBinaryWriter
public ExpandedXmlBinaryWriter(PsiXmlVersion version)
Constructor for ExpandedXmlBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.
-
ExpandedXmlBinaryWriter
public ExpandedXmlBinaryWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for ExpandedXmlBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.file
- aFile
object.- Throws:
IOException
- if any.XMLStreamException
- if any.
-
ExpandedXmlBinaryWriter
public ExpandedXmlBinaryWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for ExpandedXmlBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.output
- aOutputStream
object.- Throws:
XMLStreamException
- if any.
-
ExpandedXmlBinaryWriter
public ExpandedXmlBinaryWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for ExpandedXmlBinaryWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aWriter
object.- Throws:
XMLStreamException
- if any.
-
-
Method Detail
-
initialiseDelegateWriters
protected void initialiseDelegateWriters()
initialiseDelegateWriters.
- Specified by:
initialiseDelegateWriters
in classAbstractExpandedXmlMixWriter<BinaryInteraction,ModelledBinaryInteraction,BinaryInteractionEvidence>
-
initialiseDefaultSource
protected void initialiseDefaultSource()
initialiseDefaultSource.
- Overrides:
initialiseDefaultSource
in classAbstractXmlWriter<BinaryInteraction>
-
writeInteraction
protected void writeInteraction() throws XMLStreamException
writeInteraction.
- Overrides:
writeInteraction
in classAbstractExpandedXmlWriter<BinaryInteraction>
- Throws:
XMLStreamException
- if any.
-
writeComplex
protected void writeComplex(ModelledInteraction modelled)
writeComplex.
- Overrides:
writeComplex
in classAbstractExpandedXmlWriter<BinaryInteraction>
- Parameters:
modelled
- aModelledInteraction
object.
-
-