static <T> RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.of(Class<T> baseType) |
Creates a new runtime type adapter for baseType using "type" as the type field
name.
|
static <T> RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.of(Class<T> baseType,
String typeFieldName) |
Creates a new runtime type adapter using for baseType using typeFieldName as
the type field name.
|
static <T> RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.of(Class<T> baseType,
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(Class<? extends T> type) |
|
RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.registerSubtype(Class<? extends T> type,
String label) |
Registers type identified by label.
|