Class XmlBeginPositionWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlPositionWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.XmlBeginPositionWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<Position>
public class XmlBeginPositionWriter extends AbstractXmlPositionWriter
XML writer for the begin position of a range- Since:
13/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlBeginPositionWriter(XMLStreamWriter writer)
Constructor for XmlBeginPositionWriter.
-
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
-
XmlBeginPositionWriter
public XmlBeginPositionWriter(XMLStreamWriter writer)
Constructor for XmlBeginPositionWriter.
- 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.
-
writeStatus
protected void writeStatus(Position object)
writeStatus.
- Specified by:
writeStatus
in classAbstractXmlPositionWriter
- Parameters:
object
- aPosition
object.
-
initialiseStatusWriter
protected void initialiseStatusWriter()
initialiseStatusWriter.
- Specified by:
initialiseStatusWriter
in classAbstractXmlPositionWriter
-
-