Class AbstractXmlExperimentalInteractorWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlExperimentalInteractorWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<AbstractExperimentalInteractor>
- Direct Known Subclasses:
XmlExperimentalInteractorWriter
,XmlExperimentalInteractorWriter
public abstract class AbstractXmlExperimentalInteractorWriter extends Object implements PsiXmlElementWriter<AbstractExperimentalInteractor>
Abstract class for experimental interactor XML writer- Since:
14/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlExperimentalInteractorWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlExperimentalInteractorWriter.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected PsiXmlObjectCache
getObjectIndex()
Getter for the fieldobjectIndex
.protected XMLStreamWriter
getStreamWriter()
Getter for the fieldstreamWriter
.protected PsiXmlVersion
getVersion()
void
write(AbstractExperimentalInteractor object)
write.protected abstract void
writeInteractor(Interactor interactor)
writeInteractor.
-
-
-
Constructor Detail
-
AbstractXmlExperimentalInteractorWriter
public AbstractXmlExperimentalInteractorWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlExperimentalInteractorWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
write
public void write(AbstractExperimentalInteractor object) throws MIIOException
write.
- Specified by:
write
in interfacePsiXmlElementWriter<AbstractExperimentalInteractor>
- Parameters:
object
- a T object.- Throws:
MIIOException
- if any.
-
writeInteractor
protected abstract void writeInteractor(Interactor interactor) throws XMLStreamException
writeInteractor.
- Parameters:
interactor
- aInteractor
object.- Throws:
XMLStreamException
- if any.
-
getStreamWriter
protected XMLStreamWriter getStreamWriter()
Getter for the field
streamWriter
.- Returns:
- a
XMLStreamWriter
object.
-
getObjectIndex
protected PsiXmlObjectCache getObjectIndex()
Getter for the field
objectIndex
.- Returns:
- a
PsiXmlObjectCache
object.
-
getVersion
protected PsiXmlVersion getVersion()
-
-