Class AbstractXmlParticipantEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlParticipantEvidenceWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlParticipantEvidenceWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<ParticipantEvidence>
,PsiXmlParticipantWriter<ParticipantEvidence>
- Direct Known Subclasses:
XmlParticipantEvidenceWriter
,XmlParticipantEvidenceWriter
public abstract class AbstractXmlParticipantEvidenceWriter extends AbstractXmlParticipantEvidenceWriter
Abstract class for XML 2.5 writer of participant evidences- Since:
14/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlParticipantEvidenceWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlParticipantEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.protected void
initialiseConfidenceWriter()
initialiseConfidenceWriter.protected void
initialiseCvWriter()
initialiseCvWriter.protected void
initialiseFeatureWriter()
initialiseFeatureWriter.protected void
initialiseHostOrganismWriter()
initialiseHostOrganismWriter.protected void
initialiseInteractorWriter()
initialiseInteractorWriter.protected void
initialiseParameterWriter()
initialiseParameterWriter.protected void
initialiseXrefWriter()
initialiseXrefWriter.protected void
writeOtherAttributes(ParticipantEvidence object, boolean writeAttributeList)
writeOtherAttributes.protected void
writeParticipantPool(ParticipantPool pool)
writeParticipantPool.protected void
writeStoichiometry(ParticipantEvidence object)
writeStoichiometry.protected void
writeStoichiometryAttribute(Stoichiometry stc)
writeStoichiometryAttribute.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlParticipantEvidenceWriter
getConfidenceWriter, getExperimentalCvWriter, getHostOrganismWriter, getParameterWriter, setConfidenceWriter, setExperimentalCvWriter, setHostOrganismWriter, setParameterWriter, writeConfidences, writeExperimentalInteractor, writeExperimentalPreparations, writeExperimentalRoles, writeHostOrganisms, 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, writeMolecule, writeMoleculeDescription, writeMoleculeRef, writeNames, writeParticipant, writeXref, writeXrefFromParticipantXrefs
-
-
-
-
Constructor Detail
-
AbstractXmlParticipantEvidenceWriter
public AbstractXmlParticipantEvidenceWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlParticipantEvidenceWriter.
- 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<ParticipantEvidence,FeatureEvidence>
- Parameters:
pool
- aParticipantPool
object.- Throws:
XMLStreamException
- if any.
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriter
in classAbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
-
initialiseBiologicalRoleWriter
protected void initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.
- Specified by:
initialiseBiologicalRoleWriter
in classAbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
-
initialiseInteractorWriter
protected void initialiseInteractorWriter()
initialiseInteractorWriter.
- Specified by:
initialiseInteractorWriter
in classAbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
-
initialiseConfidenceWriter
protected void initialiseConfidenceWriter()
initialiseConfidenceWriter.
- Specified by:
initialiseConfidenceWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseHostOrganismWriter
protected void initialiseHostOrganismWriter()
initialiseHostOrganismWriter.
- Specified by:
initialiseHostOrganismWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseParameterWriter
protected void initialiseParameterWriter()
initialiseParameterWriter.
- Specified by:
initialiseParameterWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseCvWriter
protected void initialiseCvWriter()
initialiseCvWriter.
- Specified by:
initialiseCvWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseFeatureWriter
protected void initialiseFeatureWriter()
initialiseFeatureWriter.
- Specified by:
initialiseFeatureWriter
in classAbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
-
writeStoichiometry
protected void writeStoichiometry(ParticipantEvidence object)
writeStoichiometry.
- Specified by:
writeStoichiometry
in classAbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
- Parameters:
object
- aParticipantEvidence
object.
-
writeOtherAttributes
protected void writeOtherAttributes(ParticipantEvidence object, boolean writeAttributeList) throws XMLStreamException
writeOtherAttributes.
- Specified by:
writeOtherAttributes
in classAbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
- 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.
-
-