public class DefaultConverterRegistry extends Object implements ConverterRegistry
ConverterRegistry
storing the converters
per value type in a Map
. Converters for enums are created on the fly.Constructor and Description |
---|
DefaultConverterRegistry() |
Modifier and Type | Method and Description |
---|---|
<V> ValueConverter<V> |
getValueConverterFor(Class<V> type) |
protected void |
initConverters() |
<V> void |
registerValueConverter(Class<V> type,
ValueConverter<V> converter) |
public DefaultConverterRegistry()
protected void initConverters()
public <V> ValueConverter<V> getValueConverterFor(Class<V> type)
getValueConverterFor
in interface ConverterRegistry
public <V> void registerValueConverter(Class<V> type, ValueConverter<V> converter)
Copyright © 2024. All rights reserved.