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.voidsetAnnotationWriter(PsiXmlElementWriter<Annotation> annotationWriter)Setter for the fieldannotationWriter.protected voidwriteOtherProperties(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- aXMLStreamWriterobject.
-
-
Method Detail
-
getAnnotationWriter
public PsiXmlElementWriter<Annotation> getAnnotationWriter()
Getter for the field
annotationWriter.- Returns:
- a
PsiXmlElementWriterobject.
-
setAnnotationWriter
public void setAnnotationWriter(PsiXmlElementWriter<Annotation> annotationWriter)
Setter for the field
annotationWriter.- Parameters:
annotationWriter- aPsiXmlElementWriterobject.
-
writeOtherProperties
protected void writeOtherProperties(Xref object) throws XMLStreamException
writeOtherProperties.
- Overrides:
writeOtherPropertiesin classXmlDbXrefWriter- Parameters:
object- aXrefobject.- Throws:
XMLStreamException- if any.
-
-