Class DefaultImplementingTypeAnnotationTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<org.mule.runtime.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation>
org.mule.runtime.extension.internal.persistence.DefaultImplementingTypeAnnotationTypeAdapter

public class DefaultImplementingTypeAnnotationTypeAdapter extends com.google.gson.TypeAdapter<org.mule.runtime.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation>
TypeAdapter implementation which serializes DefaultImplementingTypeAnnotation 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.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation
    read(com.google.gson.stream.JsonReader in)
     
    void
    write(com.google.gson.stream.JsonWriter out, org.mule.runtime.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation 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

    • DefaultImplementingTypeAnnotationTypeAdapter

      public DefaultImplementingTypeAnnotationTypeAdapter()
      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.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation value) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<org.mule.runtime.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation>
      Throws:
      IOException
    • read

      public org.mule.runtime.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation read(com.google.gson.stream.JsonReader in) throws IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<org.mule.runtime.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation>
      Throws:
      IOException