Class XmlResultingSequenceWriter
- java.lang.Object
-
- psidev.psi.mi.jami.xml.io.writer.elements.impl.xml30.XmlResultingSequenceWriter
-
- All Implemented Interfaces:
PsiXmlElementWriter<ResultingSequence>
- Direct Known Subclasses:
XmlResultingSequenceWriter
public class XmlResultingSequenceWriter extends Object implements PsiXmlElementWriter<ResultingSequence>
Xml 3.0 writer for resulting sequence- Since:
12/11/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description XmlResultingSequenceWriter(XMLStreamWriter writer)
Constructor for XmlResultingSequenceWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XMLStreamWriter
getStreamWriter()
Getter for the fieldstreamWriter
.PsiXmlXrefWriter
getXrefWriter()
Getter for the fieldxrefWriter
.protected void
initialiseXrefWriter()
initialiseXrefWriter.void
setXrefWriter(PsiXmlXrefWriter xrefWriter)
Setter for the fieldxrefWriter
.void
write(ResultingSequence object)
write.protected void
writeXref(ResultingSequence object)
writeXref.
-
-
-
Constructor Detail
-
XmlResultingSequenceWriter
public XmlResultingSequenceWriter(XMLStreamWriter writer)
Constructor for XmlResultingSequenceWriter.
- Parameters:
writer
- aXMLStreamWriter
object.
-
-
Method Detail
-
getXrefWriter
public PsiXmlXrefWriter getXrefWriter()
Getter for the field
xrefWriter
.- Returns:
- a
PsiXmlXrefWriter
object.
-
initialiseXrefWriter
protected void initialiseXrefWriter()
initialiseXrefWriter.
-
setXrefWriter
public void setXrefWriter(PsiXmlXrefWriter xrefWriter)
Setter for the field
xrefWriter
.- Parameters:
xrefWriter
- aPsiXmlXrefWriter
object.
-
write
public void write(ResultingSequence object) throws MIIOException
write.
- Specified by:
write
in interfacePsiXmlElementWriter<ResultingSequence>
- Parameters:
object
- a T object.- Throws:
MIIOException
- if any.
-
writeXref
protected void writeXref(ResultingSequence object) throws XMLStreamException
writeXref.
- Parameters:
object
- aResultingSequence
object.- Throws:
XMLStreamException
- if any.
-
getStreamWriter
protected XMLStreamWriter getStreamWriter()
Getter for the field
streamWriter
.- Returns:
- a
XMLStreamWriter
object.
-
-