org.exolab.castor.mapping
Interface TypeConvertor
- Introspector.IdentityConvertor, SQLTypeConverters.Convertor, XMLMappingLoader.IdentityConvertor
public interface TypeConvertor
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.
$Revision: 5951 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $ Object | convert(Object object, String param) - Convert the object from one type to another.
|
convert
public Object convert(Object object,
String param)
throws ClassCastException
Convert the object from one type to another.
object
- The object to convertparam
- The parameter for the convertor (null if is not specified)
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com