Class ExpandedXmlBinaryEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.AbstractXmlWriter<T>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.AbstractExpandedXmlWriter<BinaryInteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.extended.ExpandedXmlBinaryEvidenceWriter
-
- All Implemented Interfaces:
InteractionWriter<BinaryInteractionEvidence>
public class ExpandedXmlBinaryEvidenceWriter extends AbstractExpandedXmlWriter<BinaryInteractionEvidence>
Expanded PSI-XML writer for expanded binary interaction evidences (full experimental evidences)- Since:
19/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version)
Constructor for ExpandedXmlBinaryEvidenceWriter.ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version, File file)
Constructor for ExpandedXmlBinaryEvidenceWriter.ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version, OutputStream output)
Constructor for ExpandedXmlBinaryEvidenceWriter.ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version, Writer writer)
Constructor for ExpandedXmlBinaryEvidenceWriter.ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache elementCache)
Constructor for ExpandedXmlBinaryEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Source
extractSourceFromInteraction()
extractSourceFromInteraction.protected void
initialiseDefaultSource()
initialiseDefaultSource.protected void
initialiseSubWriters()
initialiseSubWriters.protected void
writeComplex(ModelledInteraction modelled)
writeComplex.protected void
writeInteraction()
writeInteraction.-
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
close, end, flush, getComplexWriter, getCurrentInteraction, getCurrentSource, getElementCache, getInteractionsIterator, getInteractionWriter, getProcessedInteractions, getStreamWriter, getSubWritersFactory, getVersion, initialiseContext, initialiseDefaultInteractionSet, 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
-
ExpandedXmlBinaryEvidenceWriter
public ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version)
Constructor for ExpandedXmlBinaryEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.
-
ExpandedXmlBinaryEvidenceWriter
public ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for ExpandedXmlBinaryEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.file
- aFile
object.- Throws:
IOException
- if any.XMLStreamException
- if any.
-
ExpandedXmlBinaryEvidenceWriter
public ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for ExpandedXmlBinaryEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.output
- aOutputStream
object.- Throws:
XMLStreamException
- if any.
-
ExpandedXmlBinaryEvidenceWriter
public ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for ExpandedXmlBinaryEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aWriter
object.- Throws:
XMLStreamException
- if any.
-
ExpandedXmlBinaryEvidenceWriter
public ExpandedXmlBinaryEvidenceWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache elementCache)
Constructor for ExpandedXmlBinaryEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.streamWriter
- aXMLStreamWriter
object.elementCache
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
extractSourceFromInteraction
protected Source extractSourceFromInteraction()
extractSourceFromInteraction.
- Overrides:
extractSourceFromInteraction
in classAbstractXmlWriter<BinaryInteractionEvidence>
- Returns:
- a
Source
object.
-
initialiseSubWriters
protected void initialiseSubWriters()
initialiseSubWriters.
- Specified by:
initialiseSubWriters
in classAbstractXmlWriter<BinaryInteractionEvidence>
-
initialiseDefaultSource
protected void initialiseDefaultSource()
initialiseDefaultSource.
- Overrides:
initialiseDefaultSource
in classAbstractXmlWriter<BinaryInteractionEvidence>
-
writeInteraction
protected void writeInteraction() throws XMLStreamException
writeInteraction.
- Overrides:
writeInteraction
in classAbstractExpandedXmlWriter<BinaryInteractionEvidence>
- Throws:
XMLStreamException
- if any.
-
writeComplex
protected void writeComplex(ModelledInteraction modelled)
writeComplex.
- Overrides:
writeComplex
in classAbstractExpandedXmlWriter<BinaryInteractionEvidence>
- Parameters:
modelled
- aModelledInteraction
object.
-
-