public class ComponentMatcher extends Object
Modifier and Type | Method | Description |
---|---|---|
Optional<AdapterBinding> |
getAdapterBinding(Type propertyRuntimeType,
JsonBindingModel model) |
Get components from property model (if declared by annotation and runtime type matches),
or return components searched by runtime type
|
Optional<DeserializerBinding<?>> |
getDeserializerBinding(Type propertyRuntimeType,
JsonBindingModel model) |
Lookup deserializer binding for a given property runtime type.
|
Optional<SerializerBinding<?>> |
getSerializerBinding(Type propertyRuntimeType,
JsonBindingModel propertyModel) |
Lookup serializer binding for a given property runtime type.
|
public Optional<SerializerBinding<?>> getSerializerBinding(Type propertyRuntimeType, JsonBindingModel propertyModel)
propertyRuntimeType
- runtime type of a propertypropertyModel
- model of a propertypublic Optional<DeserializerBinding<?>> getDeserializerBinding(Type propertyRuntimeType, JsonBindingModel model)
propertyRuntimeType
- runtime type of a propertymodel
- model of a propertypublic Optional<AdapterBinding> getAdapterBinding(Type propertyRuntimeType, JsonBindingModel model)
propertyRuntimeType
- runtime type not nullmodel
- model nullableCopyright © 2017 Oracle Corporation. All rights reserved.