Class XmlNamedExperimentWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlExperimentWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.xml30.XmlExperimentWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.xml30.XmlNamedExperimentWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<Experiment>
,PsiXmlExperimentWriter
- Direct Known Subclasses:
XmlExperimentWriter
public class XmlNamedExperimentWriter extends XmlExperimentWriter
XML 3.0 experiment writer for a named experiment having shortlabel, fullname and aliases- Since:
13/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlNamedExperimentWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlNamedExperimentWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsiXmlElementWriter<Alias>
getAliasWriter()
Getter for the fieldaliasWriter
.void
setAliasWriter(PsiXmlElementWriter<Alias> aliasWriter)
Setter for the fieldaliasWriter
.protected void
writeNames(Experiment object)
writeNames.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.xml30.XmlExperimentWriter
getVariableParameterWriter, initialiseConfidenceWriter, initialiseDetectionMethodWriter, initialiseHostOrganismWriter, initialisePublicationWriter, initialiseVariableParameterWriter, initialiseXrefWriter, setVariableParameterWriter, writeExperimentXrefs, writeOtherAttributes, writeVariableParameters
-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlExperimentWriter
extractDefaultParticipantIdentificationMethod, getAttributeWriter, getConfidenceWriter, getDefaultPublication, getDetectionMethodWriter, getHostOrganismWriter, getObjectIndex, getPublicationWriter, getStreamWriter, getVersion, getXrefWriter, initialiseDefaultPublication, setAttributeWriter, setConfidenceWriter, setDefaultPublication, setDetectionMethodWriter, setHostOrganismWriter, setPublicationWriter, setXrefWriter, write, writeAttributes, writeConfidences, writeExperiment, writeHostOrganism, writeInteractiondetectionMethod, writeOtherProperties, writeParticipantIdentificationMethod, writePublicationAndXrefs, writeXrefFromExperimentXrefs
-
-
-
-
Constructor Detail
-
XmlNamedExperimentWriter
public XmlNamedExperimentWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlNamedExperimentWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
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(Experiment object) throws XMLStreamException
writeNames.
- Overrides:
writeNames
in classAbstractXmlExperimentWriter
- Parameters:
object
- aExperiment
object.- Throws:
XMLStreamException
- if any.
-
-