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 overlay 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 ifaceToProxyType) |
java.lang.Object |
toBindingValue(java.lang.Object value) |
public java.lang.Object coerce(java.lang.Object o,
java.lang.reflect.Type ifaceToProxyType)
coerce in interface ICoercionProviderpublic java.lang.Object toBindingValue(java.lang.Object value)
toBindingValue in interface ICoercionProviderCopyright © 2022. All rights reserved.