public class BindingsCoercer extends Object implements ICoercionProvider
Bindings and List to IBindingsBacked and IListBacked.
Note, this coercer primarily serves the JSON and GraphQL APIs where structural interfaces provide
IProxyFactory classes to overlay JSON bindings. This coercer is used to produce direct instances of the
interfaces so that other JVM languages can use JSON and GraphQL type manifolds without having to support structural
typing.| Constructor and Description |
|---|
BindingsCoercer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerce(Object o,
Class<?> proxyClass) |
Object |
toBindingValue(Object value) |
public Object coerce(Object o, Class<?> proxyClass)
coerce in interface ICoercionProviderpublic Object toBindingValue(Object value)
toBindingValue in interface ICoercionProviderCopyright © 2020. All rights reserved.