public class TypeCoercedValueEncoderFactory extends Object implements ValueEncoderFactory<Object>
ValueEncoder
instances that are backed by the TypeCoercer
service.Constructor and Description |
---|
TypeCoercedValueEncoderFactory(TypeCoercer typeCoercer) |
Modifier and Type | Method and Description |
---|---|
ValueEncoder<Object> |
create(Class<Object> type)
For a given type, create an encoder.
|
public TypeCoercedValueEncoderFactory(TypeCoercer typeCoercer)
public ValueEncoder<Object> create(Class<Object> type)
ValueEncoderFactory
create
in interface ValueEncoderFactory<Object>
type
- type of object for which an encoder is needed5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.