Class AbstractXmlFeatureWriter<F extends Feature>
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlFeatureWriter<F>
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.xml30.AbstractXmlFeatureWriter<F>
-
- All Implemented Interfaces:
PsiXmlElementWriter<F>
- Direct Known Subclasses:
AbstractXmlFeatureEvidenceWriter
,XmlModelledFeatureWriter
public abstract class AbstractXmlFeatureWriter<F extends Feature> extends AbstractXmlFeatureWriter<F>
Abstract writer for Xml30Feature.- Since:
13/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlFeatureWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlFeatureWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseFeatureTypeWriter()
initialiseFeatureTypeWriter.protected void
initialiseRangeWriter()
initialiseRangeWriter.protected void
initialiseXrefWriter()
initialiseXrefWriter.protected void
writeFeatureRole(F object)
writeFeatureRole.protected void
writeOtherAttributes(F object, boolean writeAttributeList)
writeOtherAttributes.protected void
writeParameters(F object)
writeParameters.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlFeatureWriter
getAliasWriter, getAttributeWriter, getFeatureTypeWriter, getObjectIndex, getRangeWriter, getStreamWriter, getXrefWriter, setAliasWriter, setAttributeWriter, setFeatureTypeWriter, setRangeWriter, setXrefWriter, write, writeAttribute, writeAttributes, writeFeatureType, writeNames, writeOtherProperties, writeRanges, writeXrefFromFeatureIdentifiers, writeXrefFromFeatureXrefs, writeXrefs
-
-
-
-
Constructor Detail
-
AbstractXmlFeatureWriter
public AbstractXmlFeatureWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for AbstractXmlFeatureWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
writeParameters
protected void writeParameters(F object) throws XMLStreamException
writeParameters.
- Specified by:
writeParameters
in classAbstractXmlFeatureWriter<F extends Feature>
- Parameters:
object
- a F object.- Throws:
XMLStreamException
- if any.
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
- Specified by:
initialiseXrefWriter
in classAbstractXmlFeatureWriter<F extends Feature>
-
initialiseRangeWriter
protected void initialiseRangeWriter()
initialiseRangeWriter.
- Specified by:
initialiseRangeWriter
in classAbstractXmlFeatureWriter<F extends Feature>
-
initialiseFeatureTypeWriter
protected void initialiseFeatureTypeWriter()
initialiseFeatureTypeWriter.
- Specified by:
initialiseFeatureTypeWriter
in classAbstractXmlFeatureWriter<F extends Feature>
-
writeFeatureRole
protected void writeFeatureRole(F object) throws XMLStreamException
writeFeatureRole.
- Specified by:
writeFeatureRole
in classAbstractXmlFeatureWriter<F extends Feature>
- Parameters:
object
- a F object.- Throws:
XMLStreamException
- if any.
-
writeOtherAttributes
protected void writeOtherAttributes(F object, boolean writeAttributeList) throws XMLStreamException
writeOtherAttributes.
- Specified by:
writeOtherAttributes
in classAbstractXmlFeatureWriter<F extends Feature>
- Parameters:
object
- a F object.writeAttributeList
- a boolean.- Throws:
XMLStreamException
- if any.
-
-