Class XmlCooperativityEvidenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.xml30.XmlCooperativityEvidenceWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<CooperativityEvidence>
- Direct Known Subclasses:
XmlCooperativityEvidenceWriter
public class XmlCooperativityEvidenceWriter extends Object implements PsiXmlElementWriter<CooperativityEvidence>
Xml 3.0 writer for cooperativity evidence- Since:
12/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlCooperativityEvidenceWriter(XMLStreamWriter writer)
Constructor for XmlCooperativityEvidenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsiXmlVariableNameWriter<CvTerm>
getCvWriter()
Getter for the fieldcvWriter
.PsiXmlElementWriter<Publication>
getPublicationWriter()
Getter for the fieldpublicationWriter
.protected XMLStreamWriter
getStreamWriter()
Getter for the fieldstreamWriter
.protected void
initialiseCvWriter()
initialiseCvWriter.protected void
initialisePublicationWriter()
initialisePublicationWriter.void
setCvWriter(PsiXmlVariableNameWriter<CvTerm> cvWriter)
Setter for the fieldcvWriter
.void
setPublicationWriter(PsiXmlElementWriter<Publication> publicationWriter)
Setter for the fieldpublicationWriter
.void
write(CooperativityEvidence object)
write.protected void
writePublication(CooperativityEvidence object)
writePublication.
-
-
-
Constructor Detail
-
XmlCooperativityEvidenceWriter
public XmlCooperativityEvidenceWriter(XMLStreamWriter writer)
Constructor for XmlCooperativityEvidenceWriter.
- Parameters:
writer
- aXMLStreamWriter
object.
-
-
Method Detail
-
getPublicationWriter
public PsiXmlElementWriter<Publication> getPublicationWriter()
Getter for the field
publicationWriter
.- Returns:
- a
PsiXmlElementWriter
object.
-
initialisePublicationWriter
protected void initialisePublicationWriter()
initialisePublicationWriter.
-
setPublicationWriter
public void setPublicationWriter(PsiXmlElementWriter<Publication> publicationWriter)
Setter for the field
publicationWriter
.- Parameters:
publicationWriter
- aPsiXmlElementWriter
object.
-
getCvWriter
public PsiXmlVariableNameWriter<CvTerm> getCvWriter()
Getter for the field
cvWriter
.- Returns:
- a
PsiXmlVariableNameWriter
object.
-
initialiseCvWriter
protected void initialiseCvWriter()
initialiseCvWriter.
-
setCvWriter
public void setCvWriter(PsiXmlVariableNameWriter<CvTerm> cvWriter)
Setter for the field
cvWriter
.- Parameters:
cvWriter
- aPsiXmlVariableNameWriter
object.
-
write
public void write(CooperativityEvidence object) throws MIIOException
write.
- Specified by:
write
in interfacePsiXmlElementWriter<CooperativityEvidence>
- Parameters:
object
- a T object.- Throws:
MIIOException
- if any.
-
writePublication
protected void writePublication(CooperativityEvidence object) throws XMLStreamException
writePublication.
- Parameters:
object
- aCooperativityEvidence
object.- Throws:
XMLStreamException
- if any.
-
getStreamWriter
protected XMLStreamWriter getStreamWriter()
Getter for the field
streamWriter
.- Returns:
- a
XMLStreamWriter
object.
-
-