Class SimpleJSONAdapter

  • All Implemented Interfaces:
    AdapterInterface, java.io.Serializable
    Direct Known Subclasses:
    SimpleYAMLAdapter

    public abstract class SimpleJSONAdapter
    extends SimpleAdapter
    JSON adapter.
    This class (and its child classes) cannot be instanciated.
    They correspond to an Adapter configuration item.
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleJSONAdapter

        public SimpleJSONAdapter()
    • Method Detail

      • process

        public void process()
                     throws java.lang.InterruptedException
        Process hook implementation: call process JSON hook with JSON tokenizer
        Throws:
        java.lang.InterruptedException - When interrupted
      • process

        public abstract java.lang.String process​(org.json.JSONTokener t)
                                          throws org.json.JSONException,
                                                 PlatformException,
                                                 java.lang.InterruptedException
        Process JSON hook to implement
        Parameters:
        t - JSON tokenizer
        Returns:
        Simplicite XML
        Throws:
        org.json.JSONException
        PlatformException
        java.lang.InterruptedException