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
ConstructorsConstructorDescriptionCreates a new instance which doesn't handle type references. -
Method Summary
Modifier and TypeMethodDescriptionorg.mule.runtime.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotationread(com.google.gson.stream.JsonReader in) voidwrite(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
-
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:
writein classcom.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:
readin classcom.google.gson.TypeAdapter<org.mule.runtime.extension.api.declaration.type.annotation.DefaultImplementingTypeAnnotation>- Throws:
IOException
-