Class XmlNamedInteractionEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionWriter<I,ParticipantEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionEvidenceWriter<I>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml30.AbstractXmlInteractionEvidenceWriter<InteractionEvidence>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.expanded.xml30.XmlInteractionEvidenceWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.expanded.xml30.XmlNamedInteractionEvidenceWriter
-
- All Implemented Interfaces:
ExpandedPsiXmlElementWriter<InteractionEvidence>
,PsiXmlElementWriter<InteractionEvidence>
,PsiXmlInteractionWriter<InteractionEvidence>
public class XmlNamedInteractionEvidenceWriter extends XmlInteractionEvidenceWriter implements ExpandedPsiXmlElementWriter<InteractionEvidence>
Expanded XML 3.0writer for a named interaction evidence (with full experimental details). The interaction has aliases and a fullname in addition to the shortname- Since:
18/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlNamedInteractionEvidenceWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlNamedInteractionEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsiXmlElementWriter<Alias>
getAliasWriter()
Getter for the fieldaliasWriter
.protected void
initialiseExperimentWriter()
initialiseExperimentWriter.protected void
initialiseParticipantWriter()
initialiseParticipantWriter.void
setAliasWriter(PsiXmlElementWriter<Alias> aliasWriter)
Setter for the fieldaliasWriter
.protected void
writeNames(InteractionEvidence object)
writeNames.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.expanded.xml30.XmlInteractionEvidenceWriter
writeAvailability, writeExperiments
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml30.AbstractXmlInteractionEvidenceWriter
getCausalRelationshipWriter, getVariableParameterValueSetWriter, initialiseCausalRelationshipWriter, initialiseConfidenceWriter, initialiseInferredInteractionWriter, initialiseInteractionTypeWriter, initialiseParameterWriter, initialiseXrefWriter, setCausalRelationshipWriter, setVariableParameterValueSetWriter, writeCausalRelationships, writeExperimentalVariableValues, writeOtherProperties
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionEvidenceWriter
extractDefaultExperimentFrom, getAvailabilityWriter, getConfidenceWriter, getParameterWriter, initialiseAvaliabilityWriter, initialiseDefaultExperiment, setAvailabilityWriter, setConfidenceWriter, setDefaultExperiment, setParameterWriter, writeAvailabilityDescription, writeAvailabilityRef, writeConfidences, writeInferredInteractions, writeModelled, writeNegative, writeOtherAttributes, writeParameters, writeStartInteraction
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlInteractionWriter
collectInferredInteractionsFrom, getAttributeWriter, getChecksumWriter, getDefaultExperiment, getExperimentWriter, getInferredInteractionWriter, getInteractionTypeWriter, getObjectIndex, getParticipantWriter, getStreamWriter, getVersion, getXrefWriter, newExperiment, newPublication, newPublication, newXmlCvTerm, setAttributeWriter, setChecksumWriter, setComplexAsInteractor, setExperimentWriter, setInferredInteractionWriter, setInteractionTypeWriter, setParticipantWriter, setXrefWriter, write, writeAttribute, writeAttributes, writeComplexAsInteractor, writeExperimentDescription, writeExperimentRef, writeInteractionType, writeIntraMolecular, writeParticipants, writeXref, writeXrefFromInteractionIdentifiers, writeXrefFromInteractionXrefs
-
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
-
XmlNamedInteractionEvidenceWriter
public XmlNamedInteractionEvidenceWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlNamedInteractionEvidenceWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
initialiseExperimentWriter
protected void initialiseExperimentWriter()
initialiseExperimentWriter.
- Overrides:
initialiseExperimentWriter
in classAbstractXmlInteractionEvidenceWriter<InteractionEvidence>
-
initialiseParticipantWriter
protected void initialiseParticipantWriter()
initialiseParticipantWriter.
- Overrides:
initialiseParticipantWriter
in classXmlInteractionEvidenceWriter
-
getAliasWriter
public PsiXmlElementWriter<Alias> getAliasWriter()
Getter for the field
aliasWriter
.- Returns:
- a
PsiXmlElementWriter
object.
-
setAliasWriter
public void setAliasWriter(PsiXmlElementWriter<Alias> aliasWriter)
Setter for the field
aliasWriter
.- Parameters:
aliasWriter
- aPsiXmlElementWriter
object.
-
writeNames
protected void writeNames(InteractionEvidence object) throws XMLStreamException
writeNames.
- Overrides:
writeNames
in classAbstractXmlInteractionWriter<InteractionEvidence,ParticipantEvidence>
- Parameters:
object
- a T object.- Throws:
XMLStreamException
- if any.
-
-