Class XmlParticipantEvidenceWriter
- 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
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.compact.xml25.XmlParticipantEvidenceWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.compact.xml25.XmlNamedParticipantEvidenceWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.compact.xml25.XmlParticipantEvidenceWriter
-
- All Implemented Interfaces:
CompactPsiXmlElementWriter<ParticipantEvidence>
,PsiXmlElementWriter<ParticipantEvidence>
,PsiXmlParticipantWriter<ParticipantEvidence>
public class XmlParticipantEvidenceWriter extends XmlNamedParticipantEvidenceWriter
Compact XML 2.5 writer for an expanded participant evidence with full experimental details and having experimental interactors, list of host organisms and list of experimental roles.- Since:
14/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlParticipantEvidenceWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlParticipantEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompactPsiXmlElementWriter<AbstractExperimentalInteractor>
getExperimentalInteractorWriter()
Getter for the fieldexperimentalInteractorWriter
.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.void
setExperimentalInteractorWriter(CompactPsiXmlElementWriter<AbstractExperimentalInteractor> experimentalInteractorWriter)
Setter for the fieldexperimentalInteractorWriter
.protected void
writeExperimentalInteractor(ParticipantEvidence object)
writeExperimentalInteractor.protected void
writeExperimentalRoles(ParticipantEvidence object)
writeExperimentalRoles.protected void
writeHostOrganisms(ParticipantEvidence object)
writeHostOrganisms.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.compact.xml25.XmlNamedParticipantEvidenceWriter
writeNames
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.compact.xml25.XmlParticipantEvidenceWriter
writeMolecule
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml25.AbstractXmlParticipantEvidenceWriter
writeOtherAttributes, writeParticipantPool, writeStoichiometry, 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, writeExperimentalPreparations, 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, writeParticipant, writeXref, writeXrefFromParticipantXrefs
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface psidev.psi.mi.jami.xml.io.writer.elements.PsiXmlElementWriter
write
-
-
-
-
Constructor Detail
-
XmlParticipantEvidenceWriter
public XmlParticipantEvidenceWriter(PsiXmlVersion version, XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlParticipantEvidenceWriter.
- Parameters:
version
- aPsiXmlVersion
object.writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Overrides:
initialiseXrefWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseBiologicalRoleWriter
protected void initialiseBiologicalRoleWriter()
initialiseBiologicalRoleWriter.
- Overrides:
initialiseBiologicalRoleWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseInteractorWriter
protected void initialiseInteractorWriter()
initialiseInteractorWriter.
- Overrides:
initialiseInteractorWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseConfidenceWriter
protected void initialiseConfidenceWriter()
initialiseConfidenceWriter.
- Overrides:
initialiseConfidenceWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseHostOrganismWriter
protected void initialiseHostOrganismWriter()
initialiseHostOrganismWriter.
- Overrides:
initialiseHostOrganismWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseParameterWriter
protected void initialiseParameterWriter()
initialiseParameterWriter.
- Overrides:
initialiseParameterWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseCvWriter
protected void initialiseCvWriter()
initialiseCvWriter.
- Overrides:
initialiseCvWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseFeatureWriter
protected void initialiseFeatureWriter()
initialiseFeatureWriter.
- Overrides:
initialiseFeatureWriter
in classAbstractXmlParticipantEvidenceWriter
-
getExperimentalInteractorWriter
public CompactPsiXmlElementWriter<AbstractExperimentalInteractor> getExperimentalInteractorWriter()
Getter for the field
experimentalInteractorWriter
.- Returns:
- a
CompactPsiXmlElementWriter
object.
-
setExperimentalInteractorWriter
public void setExperimentalInteractorWriter(CompactPsiXmlElementWriter<AbstractExperimentalInteractor> experimentalInteractorWriter)
Setter for the field
experimentalInteractorWriter
.- Parameters:
experimentalInteractorWriter
- aCompactPsiXmlElementWriter
object.
-
writeExperimentalRoles
protected void writeExperimentalRoles(ParticipantEvidence object) throws XMLStreamException
writeExperimentalRoles.
- Overrides:
writeExperimentalRoles
in classAbstractXmlParticipantEvidenceWriter
- Parameters:
object
- a P object.- Throws:
XMLStreamException
- if any.
-
writeHostOrganisms
protected void writeHostOrganisms(ParticipantEvidence object) throws XMLStreamException
writeHostOrganisms.
- Overrides:
writeHostOrganisms
in classAbstractXmlParticipantEvidenceWriter
- Parameters:
object
- a P object.- Throws:
XMLStreamException
- if any.
-
writeExperimentalInteractor
protected void writeExperimentalInteractor(ParticipantEvidence object) throws XMLStreamException
writeExperimentalInteractor.
- Overrides:
writeExperimentalInteractor
in classAbstractXmlParticipantEvidenceWriter
- Parameters:
object
- a P object.- Throws:
XMLStreamException
- if any.
-
-