org.codehaus.waffle.bind
Interface ValueConverterFinder

All Known Implementing Classes:
OgnlValueConverterFinder

public interface ValueConverterFinder

Finder interface for ValueConverter instances registered per application.

Author:
Mauro Talevi

Method Summary
 ValueConverter findConverter(java.lang.reflect.Type type)
          Returns the converter that is responsible for handling the type passed in.
 void registerConverter(ValueConverter converter)
          Registers the given converter
 

Method Detail

findConverter

ValueConverter findConverter(java.lang.reflect.Type type)
Returns the converter that is responsible for handling the type passed in.

Parameters:
type - the Type identifying the ValueConverter needed
Returns:
the associated ValueConverter is returned or null if none was found.

registerConverter

void registerConverter(ValueConverter converter)
Registers the given converter

Parameters:
converter - the ValueConverter to register


Copyright © 2008. All Rights Reserved.