java.lang.Object
com.google.gson.TypeAdapter<org.mule.runtime.api.meta.model.ImportedTypeModel>
org.mule.runtime.extension.internal.persistence.ImportedTypesModelTypeAdapter

public class ImportedTypesModelTypeAdapter extends com.google.gson.TypeAdapter<org.mule.runtime.api.meta.model.ImportedTypeModel>
TypeAdapter implementation which serializes ImportedTypeModel instances
Since:
1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance which doesn't handle type references.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.mule.runtime.api.meta.model.ImportedTypeModel
    read(com.google.gson.stream.JsonReader in)
     
    void
    write(com.google.gson.stream.JsonWriter out, org.mule.runtime.api.meta.model.ImportedTypeModel value)
     

    Methods inherited from class com.google.gson.TypeAdapter

    fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ImportedTypesModelTypeAdapter

      public ImportedTypesModelTypeAdapter()
      Creates a new instance which doesn't handle type references. Types are described (no ref) in the imported types section.
  • Method Details

    • write

      public void write(com.google.gson.stream.JsonWriter out, org.mule.runtime.api.meta.model.ImportedTypeModel value) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<org.mule.runtime.api.meta.model.ImportedTypeModel>
      Throws:
      IOException
    • read

      public org.mule.runtime.api.meta.model.ImportedTypeModel read(com.google.gson.stream.JsonReader in) throws IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<org.mule.runtime.api.meta.model.ImportedTypeModel>
      Throws:
      IOException