public interface BeanDescriptorProvider
BeanDescriptor instances for the
specified type.| Modifier and Type | Interface and Description |
|---|---|
static class |
BeanDescriptorProvider.CompositeBeanDescriptorProvider |
| Modifier and Type | Method and Description |
|---|---|
<T> BeanDescriptor<T> |
provide(Class<T> type,
Genson genson)
Provides a BeanDescriptor for "type" using current Genson instance.
|
<T> BeanDescriptor<T> |
provide(Class<T> ofClass,
Type type,
Genson genson)
Provides a BeanDescriptor that can serialize/deserialize "ofClass" type, based on "type"
argument.
|
<T> BeanDescriptor<T> provide(Class<T> type, Genson genson)
type - for which we need a BeanDescriptor.genson - current instance.<T> BeanDescriptor<T> provide(Class<T> ofClass, Type type, Genson genson)
ofClass - is the Class for which we need a BeanDescriptor that will be able to
serialize/deserialize objects of that type;type - to use to build this descriptor (use its declared methods, fields, etc).genson - is the current Genson instance.Copyright © 2019. All rights reserved.