public class DefaultConverterRegistry extends java.lang.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(java.lang.Class<V> type) |
protected void |
initConverters() |
<V> void |
registerValueConverter(java.lang.Class<V> type,
ValueConverter<V> converter) |
public DefaultConverterRegistry()
protected void initConverters()
public <V> ValueConverter<V> getValueConverterFor(java.lang.Class<V> type)
getValueConverterFor in interface ConverterRegistrypublic <V> void registerValueConverter(java.lang.Class<V> type, ValueConverter<V> converter)
Copyright © 2021. All Rights Reserved.