Class XmlRangeWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlRangeWriter
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.xml30.XmlRangeWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<Range>
- Direct Known Subclasses:
XmlRangeWriter
public class XmlRangeWriter extends AbstractXmlRangeWriter
Xml 3.0 writer for a feature range- Since:
13/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlRangeWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlRangeWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsiXmlElementWriter<ResultingSequence>
getResultingSequenceWriter()
Getter for the fieldresultingSequenceWriter
.protected void
initialiseEndPositionWriter()
initialiseEndPositionWriter.protected void
initialiseResultingSequenceWriter()
initialiseResultingSequenceWriter.protected void
initialiseStartPositionWriter()
initialiseStartPositionWriter.void
setResultingSequenceWriter(PsiXmlElementWriter<ResultingSequence> resultingSequenceWriter)
Setter for the fieldresultingSequenceWriter
.protected void
writeOtherProperties(Range object)
writeOtherProperties.-
Methods inherited from class psidev.psi.mi.jami.xml.io.writer.elements.impl.abstracts.AbstractXmlRangeWriter
getEndPositionWriter, getStartPositionWriter, getStreamWriter, setEndPositionWriter, setStartPositionWriter, write
-
-
-
-
Constructor Detail
-
XmlRangeWriter
public XmlRangeWriter(XMLStreamWriter writer, PsiXmlObjectCache objectIndex)
Constructor for XmlRangeWriter.
- Parameters:
writer
- aXMLStreamWriter
object.objectIndex
- aPsiXmlObjectCache
object.
-
-
Method Detail
-
getResultingSequenceWriter
public PsiXmlElementWriter<ResultingSequence> getResultingSequenceWriter()
Getter for the field
resultingSequenceWriter
.- Returns:
- a
PsiXmlElementWriter
object.
-
initialiseResultingSequenceWriter
protected void initialiseResultingSequenceWriter()
initialiseResultingSequenceWriter.
-
setResultingSequenceWriter
public void setResultingSequenceWriter(PsiXmlElementWriter<ResultingSequence> resultingSequenceWriter)
Setter for the field
resultingSequenceWriter
.- Parameters:
resultingSequenceWriter
- aPsiXmlElementWriter
object.
-
writeOtherProperties
protected void writeOtherProperties(Range object) throws XMLStreamException
writeOtherProperties.
- Specified by:
writeOtherProperties
in classAbstractXmlRangeWriter
- Parameters:
object
- aRange
object.- Throws:
XMLStreamException
- if any.
-
initialiseStartPositionWriter
protected void initialiseStartPositionWriter()
initialiseStartPositionWriter.
- Specified by:
initialiseStartPositionWriter
in classAbstractXmlRangeWriter
-
initialiseEndPositionWriter
protected void initialiseEndPositionWriter()
initialiseEndPositionWriter.
- Specified by:
initialiseEndPositionWriter
in classAbstractXmlRangeWriter
-
-