wicket.util.convert
Interface IConverter

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

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

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-2007 Wicket developers. All Rights Reserved.