public interface BeanDescriptorProvider
BeanDescriptor instances for the
specified type.| Modifier and Type | Method and Description |
|---|---|
<T> BeanDescriptor<T> |
provide(Class<T> ofClass,
Genson genson) |
<T> BeanDescriptor<T> |
provide(Class<T> ofClass,
Type type,
Genson genson)
Provides a BeanDescriptor that can serialize/deserialize "ofClass" type, based on "type"
argument.
|
BeanDescriptor<?> |
provide(Type ofType,
Genson genson)
Provides a BeanDescriptor for type "ofType" using current Genson instance.
|
BeanDescriptor<?> provide(Type ofType, Genson genson)
ofType - is the type for which we need a BeanDescriptor.genson - is the current Genson instance.<T> BeanDescriptor<T> provide(Class<T> ofClass, Genson genson)
provide(Type, Genson)<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 © 2014. All Rights Reserved.