Package psidev.psi.mi.jami.json.binary
Class MIJsonModelledBinaryWriter
- java.lang.Object
-
- psidev.psi.mi.jami.json.nary.AbstractMIJsonWriter<I>
-
- psidev.psi.mi.jami.json.binary.AbstractMIJsonBinaryWriter<ModelledBinaryInteraction>
-
- psidev.psi.mi.jami.json.binary.MIJsonModelledBinaryWriter
-
- All Implemented Interfaces:
InteractionWriter<ModelledBinaryInteraction>
public class MIJsonModelledBinaryWriter extends AbstractMIJsonBinaryWriter<ModelledBinaryInteraction>
JSON writer for ModelledInteractions- Since:
03/07/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description MIJsonModelledBinaryWriter()
Constructor for MIJsonModelledBinaryWriter.MIJsonModelledBinaryWriter(File file, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledBinaryWriter.MIJsonModelledBinaryWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledBinaryWriter.MIJsonModelledBinaryWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledBinaryWriter.MIJsonModelledBinaryWriter(Writer writer, OntologyTermFetcher fetcher, Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonModelledBinaryWriter.MIJsonModelledBinaryWriter(Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonModelledBinaryWriter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initExpansionMethodInteractionWriter(Integer expansionId)
initExpansionMethodInteractionWriter.protected void
initialiseInteractionWriter()
initialiseInteractionWriter.-
Methods inherited from class psidev.psi.mi.jami.json.binary.AbstractMIJsonBinaryWriter
close, flush, getExpansionId, initialiseContext, reset, setExpansionId, writeComplex
-
Methods inherited from class psidev.psi.mi.jami.json.nary.AbstractMIJsonWriter
clear, end, getFetcher, getIdGenerator, getInteractionWriter, getInteractorWriter, getProcessedFeatures, getProcessedInteractors, getProcessedParticipants, getWriter, registerAndWriteInteractor, setFetcher, setInteractionWriter, start, write, write, write, writeEnd, writeStart
-
-
-
-
Constructor Detail
-
MIJsonModelledBinaryWriter
public MIJsonModelledBinaryWriter()
Constructor for MIJsonModelledBinaryWriter.
-
MIJsonModelledBinaryWriter
public MIJsonModelledBinaryWriter(File file, OntologyTermFetcher fetcher) throws IOException
Constructor for MIJsonModelledBinaryWriter.
- Parameters:
file
- aFile
object.fetcher
- aOntologyTermFetcher
object.- Throws:
IOException
- if any.
-
MIJsonModelledBinaryWriter
public MIJsonModelledBinaryWriter(OutputStream output, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledBinaryWriter.
- Parameters:
output
- aOutputStream
object.fetcher
- aOntologyTermFetcher
object.
-
MIJsonModelledBinaryWriter
public MIJsonModelledBinaryWriter(Writer writer, OntologyTermFetcher fetcher)
Constructor for MIJsonModelledBinaryWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.
-
MIJsonModelledBinaryWriter
public MIJsonModelledBinaryWriter(Writer writer, OntologyTermFetcher fetcher, Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonModelledBinaryWriter.
- Parameters:
writer
- aWriter
object.fetcher
- aOntologyTermFetcher
object.processedInteractors
- aMap
object.processedFeatures
- aMap
object.processedParticipants
- aMap
object.idGenerator
- aIncrementalIdGenerator
object.
-
MIJsonModelledBinaryWriter
public MIJsonModelledBinaryWriter(Map<String,String> processedInteractors, Map<Feature,Integer> processedFeatures, Map<Entity,Integer> processedParticipants, IncrementalIdGenerator idGenerator)
Constructor for MIJsonModelledBinaryWriter.
- Parameters:
processedInteractors
- aMap
object.processedFeatures
- aMap
object.processedParticipants
- aMap
object.idGenerator
- aIncrementalIdGenerator
object.
-
-
Method Detail
-
initExpansionMethodInteractionWriter
protected void initExpansionMethodInteractionWriter(Integer expansionId)
initExpansionMethodInteractionWriter.
- Specified by:
initExpansionMethodInteractionWriter
in classAbstractMIJsonBinaryWriter<ModelledBinaryInteraction>
- Parameters:
expansionId
- aInteger
object.
-
initialiseInteractionWriter
protected void initialiseInteractionWriter()
initialiseInteractionWriter.
- Specified by:
initialiseInteractionWriter
in classAbstractMIJsonWriter<ModelledBinaryInteraction>
-
-