Class XmlDbXrefWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.XmlDbXrefWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.extended.XmlDbXrefWriter
-
- All Implemented Interfaces:
PsiXmlVariableNameWriter<Xref>
,PsiXmlXrefWriter
public class XmlDbXrefWriter extends XmlDbXrefWriter
XML writer for an expanded PSI25Xref having secondary and annotations- Since:
13/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlDbXrefWriter(XMLStreamWriter writer)
Constructor for XmlDbXrefWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsiXmlElementWriter<Annotation>
getAnnotationWriter()
Getter for the fieldannotationWriter
.void
setAnnotationWriter(PsiXmlElementWriter<Annotation> annotationWriter)
Setter for the fieldannotationWriter
.protected void
writeOtherProperties(Xref object)
writeOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.XmlDbXrefWriter
getStreamWriter, setDefaultRefType, setDefaultRefTypeAc, write, writeStartDbRef
-
-
-
-
Constructor Detail
-
XmlDbXrefWriter
public XmlDbXrefWriter(XMLStreamWriter writer)
Constructor for XmlDbXrefWriter.
- Parameters:
writer
- aXMLStreamWriter
object.
-
-
Method Detail
-
getAnnotationWriter
public PsiXmlElementWriter<Annotation> getAnnotationWriter()
Getter for the field
annotationWriter
.- Returns:
- a
PsiXmlElementWriter
object.
-
setAnnotationWriter
public void setAnnotationWriter(PsiXmlElementWriter<Annotation> annotationWriter)
Setter for the field
annotationWriter
.- Parameters:
annotationWriter
- aPsiXmlElementWriter
object.
-
writeOtherProperties
protected void writeOtherProperties(Xref object) throws XMLStreamException
writeOtherProperties.
- Overrides:
writeOtherProperties
in classXmlDbXrefWriter
- Parameters:
object
- aXref
object.- Throws:
XMLStreamException
- if any.
-
-