Class XmlParameterWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlParameterWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.xml25.XmlParameterWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<Parameter>
,PsiXmlParameterWriter
- Direct Known Subclasses:
XmlParameterWriter
,XmlParameterWriter
public class XmlParameterWriter extends AbstractXmlParameterWriter
XML 2.5 writer of a parameter- Since:
14/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlParameterWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlParameterWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Experiment
getDefaultExperiment()
The default experiment that will be used to write a valid XML file but is not a real experiment attached to the interaction.protected void
initialiseDefaultExperiment()
initialiseDefaultExperiment.protected void
writeOtherProperties(Parameter object)
writeOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlParameterWriter
getObjectIndex, getStreamWriter, setDefaultExperiment, write
-
-
-
-
Constructor Detail
-
XmlParameterWriter
public XmlParameterWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlParameterWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
getDefaultExperiment
public Experiment getDefaultExperiment()
The default experiment that will be used to write a valid XML file but is not a real experiment attached to the interaction.- Specified by:
getDefaultExperiment
in interfacePsiXmlParameterWriter
- Overrides:
getDefaultExperiment
in classAbstractXmlParameterWriter
- Returns:
- a
Experiment
object.
-
initialiseDefaultExperiment
protected void initialiseDefaultExperiment()
initialiseDefaultExperiment.
-
writeOtherProperties
protected void writeOtherProperties(Parameter object) throws XMLStreamException
writeOtherProperties.
- Specified by:
writeOtherProperties
in classAbstractXmlParameterWriter
- Parameters:
object
- aParameter
object.- Throws:
XMLStreamException
- if any.
-
-