Class ExpandedXmlNamedEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.AbstractXmlWriter<T>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.AbstractExpandedXmlWriter<InteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.ExpandedXmlNamedEvidenceWriter
-
- All Implemented Interfaces:
InteractionWriter<InteractionEvidence>
public class ExpandedXmlNamedEvidenceWriter extends AbstractExpandedXmlWriter<InteractionEvidence>
Expanded PSI-XML writer for named interaction evidences (full experimental evidences) Participants, features and experiments also have expanded names to write- Since:
19/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version)
Constructor for ExpandedXmlNamedEvidenceWriter.ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version, File file)
Constructor for ExpandedXmlNamedEvidenceWriter.ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version, OutputStream output)
Constructor for ExpandedXmlNamedEvidenceWriter.ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version, Writer writer)
Constructor for ExpandedXmlNamedEvidenceWriter.ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache cache)
Constructor for ExpandedXmlNamedEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Source
extractSourceFromInteraction()
extractSourceFromInteraction.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, 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
-
ExpandedXmlNamedEvidenceWriter
public ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version)
Constructor for ExpandedXmlNamedEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.
-
ExpandedXmlNamedEvidenceWriter
public ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for ExpandedXmlNamedEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.file
- aFile
object.- Throws:
IOException
- if any.XMLStreamException
- if any.
-
ExpandedXmlNamedEvidenceWriter
public ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for ExpandedXmlNamedEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.output
- aOutputStream
object.- Throws:
XMLStreamException
- if any.
-
ExpandedXmlNamedEvidenceWriter
public ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for ExpandedXmlNamedEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aWriter
object.- Throws:
XMLStreamException
- if any.
-
ExpandedXmlNamedEvidenceWriter
public ExpandedXmlNamedEvidenceWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache cache)
Constructor for ExpandedXmlNamedEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.streamWriter
- aXMLStreamWriter
object.cache
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
extractSourceFromInteraction
protected Source extractSourceFromInteraction()
extractSourceFromInteraction.
- Overrides:
extractSourceFromInteraction
in classAbstractXmlWriter<InteractionEvidence>
- Returns:
- a
Source
object.
-
initialiseSubWriters
protected void initialiseSubWriters()
initialiseSubWriters.
- Specified by:
initialiseSubWriters
in classAbstractXmlWriter<InteractionEvidence>
-
-