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.xml30.AbstractXmlParticipantEvidenceWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.expanded.xml30.XmlParticipantEvidenceWriter
-
- All Implemented Interfaces:
ExpandedPsiXmlElementWriter<ParticipantEvidence>
,PsiXmlElementWriter<ParticipantEvidence>
,PsiXmlParticipantWriter<ParticipantEvidence>
public class XmlParticipantEvidenceWriter extends AbstractXmlParticipantEvidenceWriter implements ExpandedPsiXmlElementWriter<ParticipantEvidence>
Expanded XML 3.0 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(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlParticipantEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpandedPsiXmlElementWriter<AbstractExperimentalInteractor>
getExperimentalInteractorWriter()
Getter for the fieldexperimentalInteractorWriter
.protected void
initialiseFeatureWriter()
initialiseFeatureWriter.protected void
initialiseParticipantCandidateWriter()
initialiseParticipantCandidateWriter.void
setExperimentalInteractorWriter(ExpandedPsiXmlElementWriter<AbstractExperimentalInteractor> experimentalInteractorWriter)
Setter for the fieldexperimentalInteractorWriter
.protected void
writeExperimentalInteractor(ParticipantEvidence object)
writeExperimentalInteractor.protected void
writeExperimentalRoles(ParticipantEvidence object)
writeExperimentalRoles.protected void
writeHostOrganisms(ParticipantEvidence object)
writeHostOrganisms.protected void
writeMolecule(Interactor interactor)
writeMolecule.protected void
writeNames(ParticipantEvidence object)
writeNames.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml30.AbstractXmlParticipantEvidenceWriter
getParticipantCandidateWriter, getStoichiometryWriter, initialiseBiologicalRoleWriter, initialiseConfidenceWriter, initialiseCvWriter, initialiseHostOrganismWriter, initialiseInteractorWriter, initialiseParameterWriter, initialiseXrefWriter, setParticipantCandidateWriter, setStoichiometryWriter, writeOtherAttributes, writeParticipantPool, writeStoichiometry
-
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(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlParticipantEvidenceWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseFeatureWriter
protected void initialiseFeatureWriter()
initialiseFeatureWriter.
- Overrides:
initialiseFeatureWriter
in classAbstractXmlParticipantEvidenceWriter
-
initialiseParticipantCandidateWriter
protected void initialiseParticipantCandidateWriter()
initialiseParticipantCandidateWriter.
- Specified by:
initialiseParticipantCandidateWriter
in classAbstractXmlParticipantEvidenceWriter
-
getExperimentalInteractorWriter
public ExpandedPsiXmlElementWriter<AbstractExperimentalInteractor> getExperimentalInteractorWriter()
Getter for the field
experimentalInteractorWriter
.- Returns:
- a
ExpandedPsiXmlElementWriter
object.
-
setExperimentalInteractorWriter
public void setExperimentalInteractorWriter(ExpandedPsiXmlElementWriter<AbstractExperimentalInteractor> experimentalInteractorWriter)
Setter for the field
experimentalInteractorWriter
.- Parameters:
experimentalInteractorWriter
- aExpandedPsiXmlElementWriter
object.
-
writeMolecule
protected void writeMolecule(Interactor interactor) throws XMLStreamException
writeMolecule.
- Specified by:
writeMolecule
in classAbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
- Parameters:
interactor
- aInteractor
object.- Throws:
XMLStreamException
- if any.
-
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.
-
writeNames
protected void writeNames(ParticipantEvidence object) throws XMLStreamException
writeNames.
- Overrides:
writeNames
in classAbstractXmlParticipantWriter<ParticipantEvidence,FeatureEvidence>
- Parameters:
object
- a P object.- Throws:
XMLStreamException
- if any.
-
-