public class DefaultConverterLookup extends Object implements ConverterLookup, ConverterRegistry, Caching
Constructor and Description |
---|
DefaultConverterLookup() |
DefaultConverterLookup(Mapper mapper)
Deprecated.
As of 1.3, use
DefaultConverterLookup() |
Modifier and Type | Method and Description |
---|---|
void |
flushCache() |
Converter |
lookupConverterForType(Class type)
Lookup a converter for a specific type.
|
void |
registerConverter(Converter converter,
int priority) |
public DefaultConverterLookup()
public DefaultConverterLookup(Mapper mapper)
DefaultConverterLookup()
public Converter lookupConverterForType(Class type)
ConverterLookup
This type may be any Class, including primitive and array types. It may also be null, signifying the value to be converted is a null type.
lookupConverterForType
in interface ConverterLookup
public void registerConverter(Converter converter, int priority)
registerConverter
in interface ConverterRegistry
public void flushCache()
flushCache
in interface Caching
Copyright © 2004–2017 XStream. All rights reserved.