wicket.util.convert
Interface IConverter

All Superinterfaces:
ILocalizable, java.io.Serializable
All Known Implementing Classes:
Converter

public interface IConverter
extends ILocalizable, java.io.Serializable

General purpose data type converter. An object that implements this interface can convert objects from one class to another.

Author:
Eelco Hillenius, Jonathan Locke

Method Summary
 java.lang.Object convert(java.lang.Object value, java.lang.Class c)
          Converts the given value to class c.
 
Methods inherited from interface wicket.util.convert.ILocalizable
getLocale, setLocale
 

Method Detail

convert

public java.lang.Object convert(java.lang.Object value,
                                java.lang.Class c)
Converts the given value to class c.

Parameters:
value - The value to convert
c - The class of object to convert to
Returns:
The converted value


Copyright © 2004-2005 Wicket developers. All Rights Reserved.