Class XmlOpenCvTermWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.XmlCvTermWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.XmlOpenCvTermWriter
-
- All Implemented Interfaces:
PsiXmlVariableNameWriter<CvTerm>
- Direct Known Subclasses:
XmlOpenCvTermWriter
public class XmlOpenCvTermWriter extends XmlCvTermWriter
Xml writer for open cv terms- Since:
12/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlOpenCvTermWriter(XMLStreamWriter writer)
Constructor for XmlOpenCvTermWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsiXmlElementWriter<Annotation>
getAttributeWriter()
Getter for the fieldattributeWriter
.void
setAttributeWriter(PsiXmlElementWriter<Annotation> attributeWriter)
Setter for the fieldattributeWriter
.protected void
writeOtherProperties(CvTerm object)
writeOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.XmlCvTermWriter
getAliasWriter, getStreamWriter, getXrefWriter, initialiseXrefWriter, setAliasWriter, setXrefWriter, write, writeStartCvTerm, writeXrefFromCvIdentifiers, writeXrefFromCvXrefs
-
-
-
-
Constructor Detail
-
XmlOpenCvTermWriter
public XmlOpenCvTermWriter(XMLStreamWriter writer)
Constructor for XmlOpenCvTermWriter.
- Parameters:
writer
- aXMLStreamWriter
object.
-
-
Method Detail
-
getAttributeWriter
public PsiXmlElementWriter<Annotation> getAttributeWriter()
Getter for the field
attributeWriter
.- Returns:
- a
PsiXmlElementWriter
object.
-
setAttributeWriter
public void setAttributeWriter(PsiXmlElementWriter<Annotation> attributeWriter)
Setter for the field
attributeWriter
.- Parameters:
attributeWriter
- aPsiXmlElementWriter
object.
-
writeOtherProperties
protected void writeOtherProperties(CvTerm object) throws XMLStreamException
writeOtherProperties.
- Overrides:
writeOtherProperties
in classXmlCvTermWriter
- Parameters:
object
- aCvTerm
object.- Throws:
XMLStreamException
- if any.
-
-