Class XmlEndPositionWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlPositionWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.XmlEndPositionWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<Position>
public class XmlEndPositionWriter extends AbstractXmlPositionWriter
XML writer for the end position of a range- Since:
13/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlEndPositionWriter(XMLStreamWriter writer)
Constructor for XmlEndPositionWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialiseStatusWriter()
initialiseStatusWriter.protected void
writeStartIntervalNode()
writeStartIntervalNode.protected void
writeStartPositionNode()
writeStartPositionNode.protected void
writeStatus(Position object)
writeStatus.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlPositionWriter
getStatusWriter, getStreamWriter, setStatusWriter, write
-
-
-
-
Constructor Detail
-
XmlEndPositionWriter
public XmlEndPositionWriter(XMLStreamWriter writer)
Constructor for XmlEndPositionWriter.
- Parameters:
writer
- aXMLStreamWriter
object.
-
-
Method Detail
-
writeStartPositionNode
protected void writeStartPositionNode() throws XMLStreamException
writeStartPositionNode.
- Specified by:
writeStartPositionNode
in classAbstractXmlPositionWriter
- Throws:
XMLStreamException
- if any.
-
writeStartIntervalNode
protected void writeStartIntervalNode() throws XMLStreamException
writeStartIntervalNode.
- Specified by:
writeStartIntervalNode
in classAbstractXmlPositionWriter
- Throws:
XMLStreamException
- if any.
-
initialiseStatusWriter
protected void initialiseStatusWriter()
initialiseStatusWriter.
- Specified by:
initialiseStatusWriter
in classAbstractXmlPositionWriter
-
writeStatus
protected void writeStatus(Position object)
writeStatus.
- Specified by:
writeStatus
in classAbstractXmlPositionWriter
- Parameters:
object
- aPosition
object.
-
-