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 voidinitialiseBiologicalRoleWriter()initialiseBiologicalRoleWriter.protected voidinitialiseFeatureWriter()initialiseFeatureWriter.protected voidinitialiseInteractorWriter()initialiseInteractorWriter.protected abstract voidinitialiseParticipantCandidateWriter()initialiseParticipantCandidateWriter.protected voidinitialiseXrefWriter()initialiseXrefWriter.voidsetParticipantCandidateWriter(PsiXmlElementWriter<ModelledParticipantCandidate> participantCandidateWriter)Setter for the fieldparticipantCandidateWriter.voidsetStoichiometryWriter(PsiXmlElementWriter<Stoichiometry> stoichiometryWriter)Setter for the fieldstoichiometryWriter.protected voidwriteConfidences(ModelledParticipant object)writeConfidences.protected voidwriteExperimentalInteractor(ModelledParticipant object)writeExperimentalInteractor.protected voidwriteExperimentalPreparations(ModelledParticipant object)writeExperimentalPreparations.protected voidwriteExperimentalRoles(ModelledParticipant object)writeExperimentalRoles.protected voidwriteHostOrganisms(ModelledParticipant object)writeHostOrganisms.protected voidwriteOtherAttributes(ModelledParticipant object, boolean writeAttributeList)writeOtherAttributes.protected voidwriteParameters(ModelledParticipant object)writeParameters.protected voidwriteParticipantIdentificationMethods(ModelledParticipant object, CvTerm method)writeParticipantIdentificationMethods.protected voidwriteParticipantPool(ParticipantPool pool)writeParticipantPool.protected voidwriteStoichiometry(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- aXMLStreamWriterobject.objectIndex- aPsiXmlObjectCacheobject.
-
-
Method Detail
-
getStoichiometryWriter
public PsiXmlElementWriter<Stoichiometry> getStoichiometryWriter()
Getter for the field
stoichiometryWriter.- Returns:
- a
PsiXmlElementWriterobject.
-
setStoichiometryWriter
public void setStoichiometryWriter(PsiXmlElementWriter<Stoichiometry> stoichiometryWriter)
Setter for the field
stoichiometryWriter.- Parameters:
stoichiometryWriter- aPsiXmlElementWriterobject.
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriterin classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
initialiseFeatureWriter
protected void initialiseFeatureWriter()
initialiseFeatureWriter.
- Specified by:
initialiseFeatureWriterin classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
writeStoichiometry
protected void writeStoichiometry(ModelledParticipant object)
writeStoichiometry.
- Specified by:
writeStoichiometryin classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>- Parameters:
object- aModelledParticipantobject.
-
writeOtherAttributes
protected void writeOtherAttributes(ModelledParticipant object, boolean writeAttributeList) throws XMLStreamException
writeOtherAttributes.
- Specified by:
writeOtherAttributesin classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>- Parameters:
object- a P object.writeAttributeList- a boolean.- Throws:
XMLStreamException- if any.
-
initialiseBiologicalRoleWriter
protected void initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.
- Specified by:
initialiseBiologicalRoleWriterin classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
initialiseInteractorWriter
protected void initialiseInteractorWriter()
initialiseInteractorWriter.
- Specified by:
initialiseInteractorWriterin classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>
-
writeExperimentalPreparations
protected void writeExperimentalPreparations(ModelledParticipant object)
writeExperimentalPreparations.
- Overrides:
writeExperimentalPreparationsin classAbstractXmlModelledParticipantWriter- Parameters:
object- a P object.
-
writeExperimentalRoles
protected void writeExperimentalRoles(ModelledParticipant object)
writeExperimentalRoles.
- Overrides:
writeExperimentalRolesin classAbstractXmlModelledParticipantWriter- Parameters:
object- a P object.
-
writeParticipantIdentificationMethods
protected void writeParticipantIdentificationMethods(ModelledParticipant object, CvTerm method)
writeParticipantIdentificationMethods.
- Overrides:
writeParticipantIdentificationMethodsin classAbstractXmlModelledParticipantWriter- Parameters:
object- a P object.method- aCvTermobject.
-
writeExperimentalInteractor
protected void writeExperimentalInteractor(ModelledParticipant object)
writeExperimentalInteractor.
- Overrides:
writeExperimentalInteractorin classAbstractXmlModelledParticipantWriter- Parameters:
object- a P object.
-
writeHostOrganisms
protected void writeHostOrganisms(ModelledParticipant object)
writeHostOrganisms.
- Overrides:
writeHostOrganismsin classAbstractXmlModelledParticipantWriter- Parameters:
object- a P object.
-
writeConfidences
protected void writeConfidences(ModelledParticipant object)
writeConfidences.
- Overrides:
writeConfidencesin classAbstractXmlModelledParticipantWriter- Parameters:
object- a P object.
-
writeParameters
protected void writeParameters(ModelledParticipant object)
writeParameters.
- Overrides:
writeParametersin classAbstractXmlModelledParticipantWriter- Parameters:
object- a P object.
-
getParticipantCandidateWriter
public PsiXmlElementWriter<ModelledParticipantCandidate> getParticipantCandidateWriter()
Getter for the field
participantCandidateWriter.- Returns:
- a
PsiXmlElementWriterobject.
-
initialiseParticipantCandidateWriter
protected abstract void initialiseParticipantCandidateWriter()
initialiseParticipantCandidateWriter.
-
setParticipantCandidateWriter
public void setParticipantCandidateWriter(PsiXmlElementWriter<ModelledParticipantCandidate> participantCandidateWriter)
Setter for the field
participantCandidateWriter.- Parameters:
participantCandidateWriter- aPsiXmlElementWriterobject.
-
writeParticipantPool
protected void writeParticipantPool(ParticipantPool pool) throws XMLStreamException
writeParticipantPool.
- Specified by:
writeParticipantPoolin classAbstractXmlParticipantWriter<ModelledParticipant,ModelledFeature>- Parameters:
pool- aParticipantPoolobject.- Throws:
XMLStreamException- if any.
-
-