Class XmlExperimentWriter
- 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
-
- All Implemented Interfaces:
PsiXmlElementWriter<Experiment>
,PsiXmlExperimentWriter
- Direct Known Subclasses:
XmlNamedExperimentWriter
public class XmlExperimentWriter extends AbstractXmlExperimentWriter
PSI-XML 3.0.0 experiment writer- Since:
12/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlExperimentWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlExperimentWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsiXmlElementWriter<VariableParameter>
getVariableParameterWriter()
Getter for the fieldvariableParameterWriter
.protected void
initialiseConfidenceWriter()
initialiseConfidenceWriter.protected void
initialiseDetectionMethodWriter()
initialiseDetectionMethodWriter.protected void
initialiseHostOrganismWriter()
initialiseHostOrganismWriter.protected void
initialisePublicationWriter()
initialisePublicationWriter.protected void
initialiseVariableParameterWriter()
initialiseVariableParameterWriter.protected void
initialiseXrefWriter()
initialiseXrefWriter.void
setVariableParameterWriter(PsiXmlElementWriter<VariableParameter> variableParameterWriter)
Setter for the fieldvariableParameterWriter
.protected void
writeExperimentXrefs(Experiment object, String imexId)
writeExperimentXrefs.protected void
writeOtherAttributes(Experiment object, boolean needToWriteAttributeList)
writeOtherAttributes.protected void
writeVariableParameters(Experiment object)
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, writeNames, writeOtherProperties, writeParticipantIdentificationMethod, writePublicationAndXrefs, writeXrefFromExperimentXrefs
-
-
-
-
Constructor Detail
-
XmlExperimentWriter
public XmlExperimentWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlExperimentWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
getVariableParameterWriter
public PsiXmlElementWriter<VariableParameter> getVariableParameterWriter()
Getter for the field
variableParameterWriter
.- Returns:
- a
PsiXmlElementWriter
object.
-
initialiseVariableParameterWriter
protected void initialiseVariableParameterWriter()
initialiseVariableParameterWriter.
-
setVariableParameterWriter
public void setVariableParameterWriter(PsiXmlElementWriter<VariableParameter> variableParameterWriter)
Setter for the field
variableParameterWriter
.- Parameters:
variableParameterWriter
- aPsiXmlElementWriter
object.
-
writeOtherAttributes
protected void writeOtherAttributes(Experiment object, boolean needToWriteAttributeList) throws XMLStreamException
writeOtherAttributes.
- Specified by:
writeOtherAttributes
in classAbstractXmlExperimentWriter
- Parameters:
object
- aExperiment
object.needToWriteAttributeList
- a boolean.- Throws:
XMLStreamException
- if any.
-
writeVariableParameters
protected void writeVariableParameters(Experiment object) throws XMLStreamException
writeVariableParameters.
- Specified by:
writeVariableParameters
in classAbstractXmlExperimentWriter
- Parameters:
object
- aExperiment
object.- Throws:
XMLStreamException
- if any.
-
writeExperimentXrefs
protected void writeExperimentXrefs(Experiment object, String imexId) throws XMLStreamException
writeExperimentXrefs.
- Specified by:
writeExperimentXrefs
in classAbstractXmlExperimentWriter
- Parameters:
object
- aExperiment
object.imexId
- aString
object.- Throws:
XMLStreamException
- if any.
-
initialisePublicationWriter
protected void initialisePublicationWriter()
initialisePublicationWriter.
- Specified by:
initialisePublicationWriter
in classAbstractXmlExperimentWriter
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriter
in classAbstractXmlExperimentWriter
-
initialiseHostOrganismWriter
protected void initialiseHostOrganismWriter()
initialiseHostOrganismWriter.
- Specified by:
initialiseHostOrganismWriter
in classAbstractXmlExperimentWriter
-
initialiseDetectionMethodWriter
protected void initialiseDetectionMethodWriter()
initialiseDetectionMethodWriter.
- Specified by:
initialiseDetectionMethodWriter
in classAbstractXmlExperimentWriter
-
initialiseConfidenceWriter
protected void initialiseConfidenceWriter()
initialiseConfidenceWriter.
- Specified by:
initialiseConfidenceWriter
in classAbstractXmlExperimentWriter
-
-