public class BindingsCoercer extends java.lang.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 |
|---|---|
java.lang.Object |
coerce(java.lang.Object o,
java.lang.reflect.Type proxyClassType) |
java.lang.Object |
toBindingValue(java.lang.Object value) |
public java.lang.Object coerce(java.lang.Object o,
java.lang.reflect.Type proxyClassType)
coerce in interface ICoercionProviderpublic java.lang.Object toBindingValue(java.lang.Object value)
toBindingValue in interface ICoercionProviderCopyright © 2021. All rights reserved.