| org.exolab.castor.mapping.TypeConvertor
TypeConvertor | public interface TypeConvertor (Code) | | Interface for a type convertor. A type convertor converts a Java
object from one type to another. A type convertor implementation is
required for each type of conversion.
author: Assaf Arkin version: $Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $ |
convert | public Object convert(Object object, String param) throws ClassCastException(Code) | | Convert the object from one type to another.
Parameters: object - The object to convert Parameters: param - The parameter for the convertor (null if is not specified) The converted object throws: ClassCastException - The object is not of the typesupported by this convertor |
|
|