Package adams.core

Interface JsonSupporter

  • All Known Implementing Classes:
    JsonTree, JsonTreeWithPreview

    public interface JsonSupporter
    For classes that support JSON objects, e.g., displaying them.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      net.minidev.json.JSONAware getJSON()
      Returns the JSON object.
      void setJSON​(net.minidev.json.JSONAware value)
      Sets the JSON object.
    • Method Detail

      • setJSON

        void setJSON​(net.minidev.json.JSONAware value)
        Sets the JSON object.
        Parameters:
        value - the JSON object
      • getJSON

        net.minidev.json.JSONAware getJSON()
        Returns the JSON object.
        Returns:
        the JSON object, null if none available