Class AbstractXmlParticipantWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlParticipantWriter<Participant,Feature>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlParticipantWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<Participant>
,PsiXmlParticipantWriter<Participant>
- Direct Known Subclasses:
AbstractXmlNamedParticipantWriter
,XmlParticipantWriter
,XmlParticipantWriter
public abstract class AbstractXmlParticipantWriter extends AbstractXmlParticipantWriter<Participant,Feature>
Xml 2.5 writer for participant- Since:
12/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlParticipantWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlParticipantWriter.
-
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
writeConfidences(Participant object)
writeConfidences.protected void
writeExperimentalInteractor(Participant object)
writeExperimentalInteractor.protected void
writeExperimentalPreparations(Participant object)
writeExperimentalPreparations.protected void
writeExperimentalRoles(Participant object)
writeExperimentalRoles.protected void
writeHostOrganisms(Participant object)
writeHostOrganisms.protected void
writeOtherAttributes(Participant object, boolean writeAttributeList)
writeOtherAttributes.protected void
writeParameters(Participant object)
writeParameters.protected void
writeParticipantIdentificationMethods(Participant object, CvTerm method)
writeParticipantIdentificationMethods.protected void
writeParticipantPool(ParticipantPool pool)
writeParticipantPool.protected void
writeStoichiometry(Participant object)
writeStoichiometry.protected void
writeStoichiometryAttribute(Stoichiometry stc)
writeStoichiometryAttribute.-
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, writeMolecule, writeMoleculeDescription, writeMoleculeRef, writeNames, writeParticipant, writeXref, writeXrefFromParticipantXrefs
-
-
-
-
Constructor Detail
-
AbstractXmlParticipantWriter
public AbstractXmlParticipantWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlParticipantWriter.
- 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<Participant,Feature>
- Parameters:
pool
- aParticipantPool
object.- Throws:
XMLStreamException
- if any.
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriter
in classAbstractXmlParticipantWriter<Participant,Feature>
-
initialiseFeatureWriter
protected void initialiseFeatureWriter()
initialiseFeatureWriter.
- Specified by:
initialiseFeatureWriter
in classAbstractXmlParticipantWriter<Participant,Feature>
-
initialiseBiologicalRoleWriter
protected void initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.
- Specified by:
initialiseBiologicalRoleWriter
in classAbstractXmlParticipantWriter<Participant,Feature>
-
initialiseInteractorWriter
protected void initialiseInteractorWriter()
initialiseInteractorWriter.
- Specified by:
initialiseInteractorWriter
in classAbstractXmlParticipantWriter<Participant,Feature>
-
writeStoichiometry
protected void writeStoichiometry(Participant object)
writeStoichiometry.
- Specified by:
writeStoichiometry
in classAbstractXmlParticipantWriter<Participant,Feature>
- Parameters:
object
- a P object.
-
writeOtherAttributes
protected void writeOtherAttributes(Participant object, boolean writeAttributeList) throws XMLStreamException
writeOtherAttributes.
- Specified by:
writeOtherAttributes
in classAbstractXmlParticipantWriter<Participant,Feature>
- 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.
-
writeExperimentalPreparations
protected void writeExperimentalPreparations(Participant object)
writeExperimentalPreparations.
- Specified by:
writeExperimentalPreparations
in classAbstractXmlParticipantWriter<Participant,Feature>
- Parameters:
object
- a P object.
-
writeExperimentalRoles
protected void writeExperimentalRoles(Participant object)
writeExperimentalRoles.
- Specified by:
writeExperimentalRoles
in classAbstractXmlParticipantWriter<Participant,Feature>
- Parameters:
object
- a P object.
-
writeParticipantIdentificationMethods
protected void writeParticipantIdentificationMethods(Participant object, CvTerm method)
writeParticipantIdentificationMethods.
- Specified by:
writeParticipantIdentificationMethods
in classAbstractXmlParticipantWriter<Participant,Feature>
- Parameters:
object
- a P object.method
- aCvTerm
object.
-
writeExperimentalInteractor
protected void writeExperimentalInteractor(Participant object)
writeExperimentalInteractor.
- Specified by:
writeExperimentalInteractor
in classAbstractXmlParticipantWriter<Participant,Feature>
- Parameters:
object
- a P object.
-
writeHostOrganisms
protected void writeHostOrganisms(Participant object)
writeHostOrganisms.
- Specified by:
writeHostOrganisms
in classAbstractXmlParticipantWriter<Participant,Feature>
- Parameters:
object
- a P object.
-
writeConfidences
protected void writeConfidences(Participant object)
writeConfidences.
- Specified by:
writeConfidences
in classAbstractXmlParticipantWriter<Participant,Feature>
- Parameters:
object
- a P object.
-
writeParameters
protected void writeParameters(Participant object)
writeParameters.
- Specified by:
writeParameters
in classAbstractXmlParticipantWriter<Participant,Feature>
- Parameters:
object
- a P object.
-
-