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.xml30.AbstractXmlModelledParticipantWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<ModelledParticipant>
,PsiXmlParticipantWriter<ModelledParticipant>
- Direct Known Subclasses:
XmlModelledParticipantWriter
,XmlModelledParticipantWriter
public abstract class AbstractXmlModelledParticipantWriter extends AbstractXmlModelledParticipantWriter
Abstract class for XML 3.0 writer of modelled participant- Since:
14/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlModelledParticipantWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlModelledParticipantWriter.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description PsiXmlElementWriter<ModelledParticipantCandidate>
getParticipantCandidateWriter()
Getter for the fieldparticipantCandidateWriter
.PsiXmlElementWriter<Stoichiometry>
getStoichiometryWriter()
Getter for the fieldstoichiometryWriter
.protected void
initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.protected void
initialiseFeatureWriter()
initialiseFeatureWriter.protected void
initialiseInteractorWriter()
initialiseInteractorWriter.protected abstract void
initialiseParticipantCandidateWriter()
initialiseParticipantCandidateWriter.protected void
initialiseXrefWriter()
initialiseXrefWriter.void
setParticipantCandidateWriter(PsiXmlElementWriter<ModelledParticipantCandidate> participantCandidateWriter)
Setter for the fieldparticipantCandidateWriter
.void
setStoichiometryWriter(PsiXmlElementWriter<Stoichiometry> stoichiometryWriter)
Setter for the fieldstoichiometryWriter
.protected void
writeConfidences(ModelledParticipant object)
writeConfidences.protected void
writeExperimentalInteractor(ModelledParticipant object)
writeExperimentalInteractor.protected void
writeExperimentalPreparations(ModelledParticipant object)
writeExperimentalPreparations.protected void
writeExperimentalRoles(ModelledParticipant object)
writeExperimentalRoles.protected void
writeHostOrganisms(ModelledParticipant object)
writeHostOrganisms.protected void
writeOtherAttributes(ModelledParticipant object, boolean writeAttributeList)
writeOtherAttributes.protected void
writeParameters(ModelledParticipant object)
writeParameters.protected void
writeParticipantIdentificationMethods(ModelledParticipant object, CvTerm method)
writeParticipantIdentificationMethods.protected void
writeParticipantPool(ParticipantPool pool)
writeParticipantPool.protected void
writeStoichiometry(ModelledParticipant object)
writeStoichiometry.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlModelledParticipantWriter
writeMolecule
-
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(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlModelledParticipantWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
getStoichiometryWriter
public PsiXmlElementWriter<Stoichiometry> getStoichiometryWriter()
Getter for the field
stoichiometryWriter
.- Returns:
- a
PsiXmlElementWriter
object.
-
setStoichiometryWriter
public void setStoichiometryWriter(PsiXmlElementWriter<Stoichiometry> stoichiometryWriter)
Setter for the field
stoichiometryWriter
.- Parameters:
stoichiometryWriter
- aPsiXmlElementWriter
object.
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriter
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
initialiseFeatureWriter
protected void initialiseFeatureWriter()
initialiseFeatureWriter.
- Specified by:
initialiseFeatureWriter
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.
-
initialiseBiologicalRoleWriter
protected void initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.
- Specified by:
initialiseBiologicalRoleWriter
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
initialiseInteractorWriter
protected void initialiseInteractorWriter()
initialiseInteractorWriter.
- Specified by:
initialiseInteractorWriter
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
writeExperimentalPreparations
protected void writeExperimentalPreparations(ModelledParticipant object)
writeExperimentalPreparations.
- Overrides:
writeExperimentalPreparations
in classAbstractXmlModelledParticipantWriter
- Parameters:
object
- a P object.
-
writeExperimentalRoles
protected void writeExperimentalRoles(ModelledParticipant object)
writeExperimentalRoles.
- Overrides:
writeExperimentalRoles
in classAbstractXmlModelledParticipantWriter
- Parameters:
object
- a P object.
-
writeParticipantIdentificationMethods
protected void writeParticipantIdentificationMethods(ModelledParticipant object, CvTerm method)
writeParticipantIdentificationMethods.
- Overrides:
writeParticipantIdentificationMethods
in classAbstractXmlModelledParticipantWriter
- Parameters:
object
- a P object.method
- aCvTerm
object.
-
writeExperimentalInteractor
protected void writeExperimentalInteractor(ModelledParticipant object)
writeExperimentalInteractor.
- Overrides:
writeExperimentalInteractor
in classAbstractXmlModelledParticipantWriter
- Parameters:
object
- a P object.
-
writeHostOrganisms
protected void writeHostOrganisms(ModelledParticipant object)
writeHostOrganisms.
- Overrides:
writeHostOrganisms
in classAbstractXmlModelledParticipantWriter
- Parameters:
object
- a P object.
-
writeConfidences
protected void writeConfidences(ModelledParticipant object)
writeConfidences.
- Overrides:
writeConfidences
in classAbstractXmlModelledParticipantWriter
- Parameters:
object
- a P object.
-
writeParameters
protected void writeParameters(ModelledParticipant object)
writeParameters.
- Overrides:
writeParameters
in classAbstractXmlModelledParticipantWriter
- Parameters:
object
- a P object.
-
getParticipantCandidateWriter
public PsiXmlElementWriter<ModelledParticipantCandidate> getParticipantCandidateWriter()
Getter for the field
participantCandidateWriter
.- Returns:
- a
PsiXmlElementWriter
object.
-
initialiseParticipantCandidateWriter
protected abstract void initialiseParticipantCandidateWriter()
initialiseParticipantCandidateWriter.
-
setParticipantCandidateWriter
public void setParticipantCandidateWriter(PsiXmlElementWriter<ModelledParticipantCandidate> participantCandidateWriter)
Setter for the field
participantCandidateWriter
.- Parameters:
participantCandidateWriter
- aPsiXmlElementWriter
object.
-
writeParticipantPool
protected void writeParticipantPool(ParticipantPool pool) throws XMLStreamException
writeParticipantPool.
- Specified by:
writeParticipantPool
in classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
- Parameters:
pool
- aParticipantPool
object.- Throws:
XMLStreamException
- if any.
-
-