com.thoughtworks.xstream.core
Class DefaultConverterLookup
java.lang.Object
com.thoughtworks.xstream.core.DefaultConverterLookup
- All Implemented Interfaces:
- ConverterLookup
public class DefaultConverterLookup
- extends Object
- implements ConverterLookup
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(Mapper mapper)
DefaultConverterLookup
public DefaultConverterLookup(ClassMapper classMapper)
- Deprecated. As of 1.2, use
DefaultConverterLookup(Mapper)
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)
Copyright © 2004-2007 XStream. All Rights Reserved.