com.thoughtworks.xstream.converters
Interface ConverterLookup


public interface ConverterLookup

Responsible for looking up the correct Converter implementation for a specific type.

Author:
Joe Walnes
See Also:
Converter

Method Summary
 Converter defaultConverter()
          Lookup the default converter.
 Converter lookupConverterForType(java.lang.Class type)
          Lookup a converter for a specific type.
 

Method Detail

lookupConverterForType

public Converter lookupConverterForType(java.lang.Class type)
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.


defaultConverter

public Converter defaultConverter()
Lookup the default converter. This should be a catch all capable of serializng any object using reflection.



Joe Walnes, http://xstream.codehaus.org/