public class CommonAdaptorTypeCoercions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CommonAdaptorTypeCoercions.CoerceStringToCollections
Does a rough coercion of the string to the indicated Collection or Map type.
|
| Constructor and Description |
|---|
CommonAdaptorTypeCoercions(TypeCoercerExtensible coercer) |
| Modifier and Type | Method and Description |
|---|---|
<A,B> <any> |
registerAdapter(java.lang.Class<A> sourceType,
java.lang.Class<B> targetType,
<any> fn)
Registers an adapter for use with type coercion.
|
void |
registerAdapter(java.lang.String nameAndOrder,
TryCoercer coerceFn)
Registers an adapter for use with type coercion.
|
CommonAdaptorTypeCoercions |
registerAllAdapters() |
void |
registerClassForNameAdapters() |
void |
registerCollectionJsonAdapters() |
void |
registerRecursiveIterableAdapters() |
void |
registerStandardAdapters() |
public CommonAdaptorTypeCoercions(TypeCoercerExtensible coercer)
public CommonAdaptorTypeCoercions registerAllAdapters()
public <A,B> <any> registerAdapter(java.lang.Class<A> sourceType,
java.lang.Class<B> targetType,
<any> fn)
public void registerAdapter(java.lang.String nameAndOrder,
TryCoercer coerceFn)
public void registerStandardAdapters()
public void registerRecursiveIterableAdapters()
public void registerClassForNameAdapters()
public void registerCollectionJsonAdapters()