Class ExpandedXmlModelledBinaryWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.AbstractXmlWriter<T>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.AbstractExpandedXmlWriter<ModelledBinaryInteraction>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.ExpandedXmlModelledBinaryWriter
-
- All Implemented Interfaces:
InteractionWriter<ModelledBinaryInteraction>
public class ExpandedXmlModelledBinaryWriter extends AbstractExpandedXmlWriter<ModelledBinaryInteraction>
Expanded PSI-XML writer for modelled binary interactions (no experimental evidences)- Since:
19/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ExpandedXmlModelledBinaryWriter(PsiXmlVersion version)Constructor for ExpandedXmlModelledBinaryWriter.ExpandedXmlModelledBinaryWriter(PsiXmlVersion version, File file)Constructor for ExpandedXmlModelledBinaryWriter.ExpandedXmlModelledBinaryWriter(PsiXmlVersion version, OutputStream output)Constructor for ExpandedXmlModelledBinaryWriter.ExpandedXmlModelledBinaryWriter(PsiXmlVersion version, Writer writer)Constructor for ExpandedXmlModelledBinaryWriter.ExpandedXmlModelledBinaryWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache cache)Constructor for ExpandedXmlModelledBinaryWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SourceextractSourceFromInteraction()extractSourceFromInteraction.protected voidinitialiseSubWriters()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
-
ExpandedXmlModelledBinaryWriter
public ExpandedXmlModelledBinaryWriter(PsiXmlVersion version)
Constructor for ExpandedXmlModelledBinaryWriter.
- Parameters:
version- aPsiXmlVersionobject.
-
ExpandedXmlModelledBinaryWriter
public ExpandedXmlModelledBinaryWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for ExpandedXmlModelledBinaryWriter.
- Parameters:
version- aPsiXmlVersionobject.file- aFileobject.- Throws:
IOException- if any.XMLStreamException- if any.
-
ExpandedXmlModelledBinaryWriter
public ExpandedXmlModelledBinaryWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for ExpandedXmlModelledBinaryWriter.
- Parameters:
version- aPsiXmlVersionobject.output- aOutputStreamobject.- Throws:
XMLStreamException- if any.
-
ExpandedXmlModelledBinaryWriter
public ExpandedXmlModelledBinaryWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for ExpandedXmlModelledBinaryWriter.
- Parameters:
version- aPsiXmlVersionobject.writer- aWriterobject.- Throws:
XMLStreamException- if any.
-
ExpandedXmlModelledBinaryWriter
public ExpandedXmlModelledBinaryWriter(PsiXmlVersion version, XMLStreamWriter streamWriter, PsiXmlObjectCache cache)
Constructor for ExpandedXmlModelledBinaryWriter.
- Parameters:
version- aPsiXmlVersionobject.streamWriter- aXMLStreamWriterobject.cache- aPsiXmlObjectCacheobject.
-
-
Method Detail
-
extractSourceFromInteraction
protected Source extractSourceFromInteraction()
extractSourceFromInteraction.
- Overrides:
extractSourceFromInteractionin classAbstractXmlWriter<ModelledBinaryInteraction>- Returns:
- a
Sourceobject.
-
initialiseSubWriters
protected void initialiseSubWriters()
initialiseSubWriters.
- Specified by:
initialiseSubWritersin classAbstractXmlWriter<ModelledBinaryInteraction>
-
-