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.
|
RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.registerSubtype(Class<? extends T> type) |
|
RuntimeTypeAdapterFactory<T> |
RuntimeTypeAdapterFactory.registerSubtype(Class<? extends T> type,
String label) |
Registers type identified by label .
|