org.exolab.castor.mapping
public interface TypeConvertor
Version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Method Summary | |
---|---|
Object | convert(Object object, String param)
Convert the object from one type to another.
|
Parameters: object The object to convert param The parameter for the convertor (null if is not specified)
Returns: The converted object
Throws: ClassCastException The object is not of the type supported by this convertor