Class ExpandedXmlWriter
- 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<Interaction,ModelledInteraction,InteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.expanded.extended.ExpandedXmlWriter
-
- All Implemented Interfaces:
InteractionWriter<Interaction>
public class ExpandedXmlWriter extends AbstractExpandedXmlMixWriter<Interaction,ModelledInteraction,InteractionEvidence>
Expanded PSI-XML writer for a mix of interactions- Since:
19/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description ExpandedXmlWriter(PsiXmlVersion version)Constructor for ExpandedXmlWriter.ExpandedXmlWriter(PsiXmlVersion version, File file)Constructor for ExpandedXmlWriter.ExpandedXmlWriter(PsiXmlVersion version, OutputStream output)Constructor for ExpandedXmlWriter.ExpandedXmlWriter(PsiXmlVersion version, Writer writer)Constructor for ExpandedXmlWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinitialiseDefaultSource()initialiseDefaultSource.protected voidinitialiseDelegateWriters()initialiseDelegateWriters.protected voidwriteComplex(ModelledInteraction modelled)writeComplex.protected voidwriteInteraction()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
-
ExpandedXmlWriter
public ExpandedXmlWriter(PsiXmlVersion version)
Constructor for ExpandedXmlWriter.
- Parameters:
version- aPsiXmlVersionobject.
-
ExpandedXmlWriter
public ExpandedXmlWriter(PsiXmlVersion version, File file) throws IOException, XMLStreamException
Constructor for ExpandedXmlWriter.
- Parameters:
version- aPsiXmlVersionobject.file- aFileobject.- Throws:
IOException- if any.XMLStreamException- if any.
-
ExpandedXmlWriter
public ExpandedXmlWriter(PsiXmlVersion version, OutputStream output) throws XMLStreamException
Constructor for ExpandedXmlWriter.
- Parameters:
version- aPsiXmlVersionobject.output- aOutputStreamobject.- Throws:
XMLStreamException- if any.
-
ExpandedXmlWriter
public ExpandedXmlWriter(PsiXmlVersion version, Writer writer) throws XMLStreamException
Constructor for ExpandedXmlWriter.
- Parameters:
version- aPsiXmlVersionobject.writer- aWriterobject.- Throws:
XMLStreamException- if any.
-
-
Method Detail
-
initialiseDelegateWriters
protected void initialiseDelegateWriters()
initialiseDelegateWriters.
- Specified by:
initialiseDelegateWritersin classAbstractExpandedXmlMixWriter<Interaction,ModelledInteraction,InteractionEvidence>
-
initialiseDefaultSource
protected void initialiseDefaultSource()
initialiseDefaultSource.
- Overrides:
initialiseDefaultSourcein classAbstractXmlWriter<Interaction>
-
writeInteraction
protected void writeInteraction() throws XMLStreamExceptionwriteInteraction.
- Overrides:
writeInteractionin classAbstractExpandedXmlWriter<Interaction>- Throws:
XMLStreamException- if any.
-
writeComplex
protected void writeComplex(ModelledInteraction modelled)
writeComplex.
- Overrides:
writeComplexin classAbstractExpandedXmlWriter<Interaction>- Parameters:
modelled- aModelledInteractionobject.
-
-