public interface BinderFactory
| Modifier and Type | Method and Description |
|---|---|
Binder<?> |
getBinder(BinderFactoryContext ctx,
Type type) |
default Binder<?> |
getDefaultDecodeBinder(BinderFactoryContext ctx,
TypeDefinition typeDefinition)
Get the default binder to use for the given type definition.
|
default Binder<?> |
getDefaultEncodeBinder(BinderFactoryContext ctx,
Type type)
Get the default binder to use for the given type definition.
|
@Nullable Binder<?> getBinder(BinderFactoryContext ctx, Type type)
@Nullable default Binder<?> getDefaultEncodeBinder(BinderFactoryContext ctx, Type type)
Iterable, this might return an ArrayObject binder. This binder only has
to support encoding.@Nullable default Binder<?> getDefaultDecodeBinder(BinderFactoryContext ctx, TypeDefinition typeDefinition)
List<Object> binder. This binder only has to support decoding.Copyright © 2017. All rights reserved.