Class XmlConfidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.xml25.xml253.XmlConfidenceWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<Confidence>
public class XmlConfidenceWriter extends Object implements PsiXmlElementWriter<Confidence>
Extended Xml25 writer for confidences. It will write the confidence experiment references- Since:
12/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlConfidenceWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlConfidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsiXmlVariableNameWriter<CvTerm>
getTypeWriter()
Getter for the fieldtypeWriter
.protected void
initialiseTypeWriter()
initialiseTypeWriter.void
setTypeWriter(PsiXmlVariableNameWriter<CvTerm> typeWriter)
Setter for the fieldtypeWriter
.void
write(Confidence object)
write.
-
-
-
Constructor Detail
-
XmlConfidenceWriter
public XmlConfidenceWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlConfidenceWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
getTypeWriter
public PsiXmlVariableNameWriter<CvTerm> getTypeWriter()
Getter for the field
typeWriter
.- Returns:
- a
PsiXmlVariableNameWriter
object.
-
initialiseTypeWriter
protected void initialiseTypeWriter()
initialiseTypeWriter.
-
setTypeWriter
public void setTypeWriter(PsiXmlVariableNameWriter<CvTerm> typeWriter)
Setter for the field
typeWriter
.- Parameters:
typeWriter
- aPsiXmlVariableNameWriter
object.
-
write
public void write(Confidence object) throws MIIOException
write.
- Specified by:
write
in interfacePsiXmlElementWriter<Confidence>
- Parameters:
object
- a T object.- Throws:
MIIOException
- if any.
-
-