Class AbstractXmlModelledParticipantWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlModelledParticipantWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlModelledParticipantWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<ModelledParticipant>
,PsiXmlParticipantWriter<ModelledParticipant>
- Direct Known Subclasses:
XmlModelledParticipantWriter
,XmlModelledParticipantWriter
public abstract class AbstractXmlModelledParticipantWriter extends AbstractXmlModelledParticipantWriter
Abstract class for XML 2.5 writer of modelled participant- Since:
14/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlModelledParticipantWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlModelledParticipantWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.protected void
initialiseFeatureWriter()
initialiseFeatureWriter.protected void
initialiseInteractorWriter()
initialiseInteractorWriter.protected void
initialiseXrefWriter()
initialiseXrefWriter.protected void
writeOtherAttributes(ModelledParticipant object, boolean writeAttributeList)
writeOtherAttributes.protected void
writeParticipantPool(ParticipantPool pool)
writeParticipantPool.protected void
writeStoichiometry(ModelledParticipant object)
writeStoichiometry.protected void
writeStoichiometryAttribute(Stoichiometry stc)
writeStoichiometryAttribute.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlModelledParticipantWriter
writeConfidences, writeExperimentalInteractor, writeExperimentalPreparations, writeExperimentalRoles, writeHostOrganisms, writeMolecule, writeParameters, writeParticipantIdentificationMethods
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlParticipantWriter
getAliasWriter, getAttributeWriter, getBiologicalRoleWriter, getFeatureWriter, getInteractorWriter, getObjectIndex, getStreamWriter, getVersion, getXrefWriter, setAliasWriter, setAttributeWriter, setBiologicalRoleWriter, setComplexAsInteractor, setFeatureWriter, setInteractorWriter, setXrefWriter, write, writeAttributes, writeBiologicalRole, writeComplexAsInteractor, writeFeatures, writeInteractor, writeMoleculeDescription, writeMoleculeRef, writeNames, writeParticipant, writeXref, writeXrefFromParticipantXrefs
-
-
-
-
Constructor Detail
-
AbstractXmlModelledParticipantWriter
public AbstractXmlModelledParticipantWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlModelledParticipantWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
writeParticipantPool
protected void writeParticipantPool(ParticipantPool pool) throws XMLStreamException
writeParticipantPool.
- Specified by:
writeParticipantPool
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
- Parameters:
pool
- aParticipantPool
object.- Throws:
XMLStreamException
- if any.
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriter
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
initialiseFeatureWriter
protected void initialiseFeatureWriter()
initialiseFeatureWriter.
- Specified by:
initialiseFeatureWriter
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
initialiseBiologicalRoleWriter
protected void initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.
- Specified by:
initialiseBiologicalRoleWriter
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
initialiseInteractorWriter
protected void initialiseInteractorWriter()
initialiseInteractorWriter.
- Specified by:
initialiseInteractorWriter
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
writeStoichiometry
protected void writeStoichiometry(ModelledParticipant object)
writeStoichiometry.
- Specified by:
writeStoichiometry
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
- Parameters:
object
- aModelledParticipant
object.
-
writeOtherAttributes
protected void writeOtherAttributes(ModelledParticipant object, boolean writeAttributeList) throws XMLStreamException
writeOtherAttributes.
- Specified by:
writeOtherAttributes
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
- Parameters:
object
- a P object.writeAttributeList
- a boolean.- Throws:
XMLStreamException
- if any.
-
writeStoichiometryAttribute
protected void writeStoichiometryAttribute(Stoichiometry stc) throws XMLStreamException
writeStoichiometryAttribute.
- Parameters:
stc
- aStoichiometry
object.- Throws:
XMLStreamException
- if any.
-
-