public static enum Clips.CommonClipTypeAdapterFactory extends java.lang.Enum<Clips.CommonClipTypeAdapterFactory> implements com.google.gson.TypeAdapterFactory
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
<T> com.google.gson.TypeAdapter<T> |
create(com.google.gson.Gson gson,
com.google.gson.reflect.TypeToken<T> type) |
void |
setClipResolver(com.google.common.base.Function<java.lang.String,IClip> clipResolver) |
static Clips.CommonClipTypeAdapterFactory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Clips.CommonClipTypeAdapterFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Clips.CommonClipTypeAdapterFactory INSTANCE
public static Clips.CommonClipTypeAdapterFactory[] values()
for (Clips.CommonClipTypeAdapterFactory c : Clips.CommonClipTypeAdapterFactory.values()) System.out.println(c);
public static Clips.CommonClipTypeAdapterFactory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic void setClipResolver(com.google.common.base.Function<java.lang.String,IClip> clipResolver)
public <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)
create
in interface com.google.gson.TypeAdapterFactory