static <T> RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.of(java.lang.Class<T> baseType) |
Creates a new runtime type adapter for baseType using "type" as
the type field name.
|
static <T> RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.of(java.lang.Class<T> baseType,
java.lang.String typeFieldName) |
Creates a new runtime type adapter using for baseType using
typeFieldName as the type field name.
|
static <T> RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.of(java.lang.Class<T> baseType,
java.lang.String typeFieldName,
boolean maintainType) |
Creates a new runtime type adapter using for baseType using
typeFieldName as the type field name.
|
RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.recognizeSubtypes() |
Ensures that this factory will handle not just the given baseType , but any subtype
of that type.
|
RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.registerSubtype(java.lang.Class<? extends T> type) |
Registers type identified by its simple
name .
|
RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.registerSubtype(java.lang.Class<? extends T> type,
java.lang.String label) |
Registers type identified by label .
|