Package psidev.psi.mi.jami.json.elements
Class SimpleJsonOrganismWriter
- java.lang.Object
-
- psidev.psi.mi.jami.json.elements.SimpleJsonOrganismWriter
-
- All Implemented Interfaces:
JsonElementWriter<Organism>
- Direct Known Subclasses:
SimpleJsonHostOrganismWriter
public class SimpleJsonOrganismWriter extends Object implements JsonElementWriter<Organism>
Json writer for organisms. It ignores celltype, tissue and compartment- Since:
18/07/14
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description SimpleJsonOrganismWriter(Writer writer)
Constructor for SimpleJsonOrganismWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Writer
getWriter()
Getter for the fieldwriter
.void
write(Organism object)
write.protected void
writeOtherProperties(Organism object)
writeOtherProperties.
-
-
-
Method Detail
-
write
public void write(Organism object) throws IOException
write.
- Specified by:
write
in interfaceJsonElementWriter<Organism>
- Parameters:
object
- aOrganism
object.- Throws:
IOException
- if any.
-
writeOtherProperties
protected void writeOtherProperties(Organism object) throws IOException
writeOtherProperties.
- Parameters:
object
- aOrganism
object.- Throws:
IOException
- if any.
-
-