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