com.thoughtworks.xstream.core
Class DefaultConverterLookup
java.lang.Object
com.thoughtworks.xstream.core.DefaultConverterLookup
- All Implemented Interfaces:
- ConverterLookup, ConverterRegistry, Caching
public class DefaultConverterLookup
- extends Object
- implements ConverterLookup, ConverterRegistry, Caching
The default implementation of converters lookup.
- Author:
- Joe Walnes, Jörg Schaible, Guilherme Silveira
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConverterLookup
public DefaultConverterLookup()
DefaultConverterLookup
public DefaultConverterLookup(Mapper mapper)
- Deprecated. As of 1.3, use
DefaultConverterLookup()
lookupConverterForType
public Converter lookupConverterForType(Class type)
- Description copied from interface:
ConverterLookup
- Lookup a converter for a specific type.
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.
- Specified by:
lookupConverterForType
in interface ConverterLookup
registerConverter
public void registerConverter(Converter converter,
int priority)
- Specified by:
registerConverter
in interface ConverterRegistry
flushCache
public void flushCache()
- Specified by:
flushCache
in interface Caching
Copyright © 2004-2014 XStream. All Rights Reserved.