|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TypeAdapterFactory | |
|---|---|
| com.google.gson | This package provides the Gson class to convert Json to Java and
vice-versa. |
| com.google.gson.internal | Do NOT use any class in this package as they are meant for internal use in Gson. |
| com.google.gson.internal.bind | |
| Uses of TypeAdapterFactory in com.google.gson |
|---|
| Methods in com.google.gson with parameters of type TypeAdapterFactory | ||
|---|---|---|
|
Gson.getDelegateAdapter(TypeAdapterFactory skipPast,
TypeToken<T> type)
This method is used to get an alternate type adapter for the specified type. |
|
GsonBuilder |
GsonBuilder.registerTypeAdapterFactory(TypeAdapterFactory factory)
Register a factory for type adapters. |
|
| Uses of TypeAdapterFactory in com.google.gson.internal |
|---|
| Classes in com.google.gson.internal that implement TypeAdapterFactory | |
|---|---|
class |
Excluder
This class selects which fields and types to omit. |
| Uses of TypeAdapterFactory in com.google.gson.internal.bind |
|---|
| Classes in com.google.gson.internal.bind that implement TypeAdapterFactory | |
|---|---|
class |
CollectionTypeAdapterFactory
Adapt a homogeneous collection of objects. |
class |
MapTypeAdapterFactory
Adapts maps to either JSON objects or JSON arrays. |
class |
ReflectiveTypeAdapterFactory
Type adapter that reflects over the fields and methods of a class. |
| Methods in com.google.gson.internal.bind that return TypeAdapterFactory | ||
|---|---|---|
static TypeAdapterFactory |
TypeAdapters.newEnumTypeHierarchyFactory()
|
|
static
|
TypeAdapters.newFactory(Class<TT> unboxed,
Class<TT> boxed,
TypeAdapter<? super TT> typeAdapter)
|
|
static
|
TypeAdapters.newFactory(Class<TT> type,
TypeAdapter<TT> typeAdapter)
|
|
static
|
TypeAdapters.newFactory(TypeToken<TT> type,
TypeAdapter<TT> typeAdapter)
|
|
static
|
TypeAdapters.newFactoryForMultipleTypes(Class<TT> base,
Class<? extends TT> sub,
TypeAdapter<? super TT> typeAdapter)
|
|
static
|
TypeAdapters.newTypeHierarchyFactory(Class<TT> clazz,
TypeAdapter<TT> typeAdapter)
|
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||