Class InteractionViewerJson


  • public class InteractionViewerJson
    extends Object
    This class is a central access to basic methods to register json writer. Existing writers : - psidev.psi.mi.jami.json.nary.MIJsonEvidenceWriter : writer that can write interaction evidences. The option MIJsonWriterOptions.COMPLEX_TYPE_OPTION_KEY does not make sense in this case as it can write both n-ary and binary interactions the same way. The option MIJsonWriterOptions.COMPLEX_TYPE_OPTION_KEY will be ignored. - psidev.psi.mi.jami.json.nary.MIJsonModelledWriter : writer that can write modelled interactions. The option MIJsonWriterOptions.COMPLEX_TYPE_OPTION_KEY does not make sense in this case as it can write both n-ary and binary interactions the same way. The option MIJsonWriterOptions.COMPLEX_TYPE_OPTION_KEY will be ignored. As there are not Complex writers, the MIJsonModelledWriter can be used to write complexes as well but the option MIJsonWriterOptions.INTERACTION_CATEGORY_OPTION_KEY should always be InteractionCategory.modelled - psidev.psi.mi.jami.json.nary.LightMIJsonWriter : writer that can write basic interactions. The option MIJsonWriterOptions.COMPLEX_TYPE_OPTION_KEY does not make sense in this case as it can write both n-ary and binary interactions the same way. The option MIJsonWriterOptions.COMPLEX_TYPE_OPTION_KEY will be ignored. - psidev.psi.mi.jami.json.nary.MIJsonWriter : writer that can write a mix of modelled, evidence and basic interactions. The option MIJsonWriterOptions.COMPLEX_TYPE_OPTION_KEY does not make sense in this case as it can write both n-ary and binary interactions the same way. The option MIJsonWriterOptions.COMPLEX_TYPE_OPTION_KEY will be ignored. - psidev.psi.mi.jami.json.binary.MIJsonEvidenceWriter : writer that can write interaction evidences as binary pairs. It will always break n-ary interactions in binary interactions. - psidev.psi.mi.jami.json.binary.MIJsonModelledWriter : writer that can write modelled interactions as binary pairs. It will always break n-ary interactions in binary interactions. As there are not Complex writers, the MIJsonModelledWriter can be used to write complexes as well but the option MIJsonWriterOptions.INTERACTION_CATEGORY_OPTION_KEY should always be InteractionCategory.modelled - psidev.psi.mi.jami.json.binary.LightMIJsonWriter : writer that can write basic interactions as binary pairs. It will always break n-ary interactions in binary interactions. - psidev.psi.mi.jami.json.binary.MIJsonWriter : writer that can write a mix of modelled, evidence and basic interactions as binary pairs. It will always break n-ary interactions in binary interactions. - psidev.psi.mi.jami.json.binary.MIJsonBinaryEvidenceWriter : writer that can write binary interaction evidences. - psidev.psi.mi.jami.json.binary.MIJsonModelledBinaryWriter : writer that can write modelled binary interactions as binary pairs. - psidev.psi.mi.jami.json.binary.LightMIJsonBinaryWriter : writer that can write basic binary interactions. . - psidev.psi.mi.jami.json.binary.MIJsonBinaryWriter : writer that can write a mix of modelled, evidence and basic binary interactions.
    Since:
    19/11/14
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Constructor Detail

      • InteractionViewerJson

        public InteractionViewerJson()
    • Method Detail

      • initialiseAllMIJsonWriters

        public static void initialiseAllMIJsonWriters()
        Register all existing MI JSON writers in the MI interaction writer factory