public class JGumConverterManager extends ConverterManager
Modifier and Type | Field and Description |
---|---|
protected JGum |
jgum |
DEFAULT_KEY
Constructor and Description |
---|
JGumConverterManager(JGum jgum) |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
convert(JGumConverter jGumConverter,
Object source,
Type targetType,
JConverter context) |
<T> T |
convert(Object key,
Object source,
Type targetType,
JConverter context) |
static JGumConverterManager |
createDefault(JGum jgum) |
void |
register(Object key,
Converter<?,?> converter) |
chainConverters, convert, register, registerDefaults
protected final JGum jgum
public JGumConverterManager(JGum jgum)
public static JGumConverterManager createDefault(JGum jgum)
jgum
- a JGum categorization context.public void register(Object key, Converter<?,?> converter)
register
in class ConverterManager
public <T> T convert(Object key, Object source, Type targetType, JConverter context)
convert
in class ConverterManager
protected <T> T convert(JGumConverter jGumConverter, Object source, Type targetType, JConverter context)
Copyright © 2014. All rights reserved.