| java.lang.Object org.apache.commons.jxpath.util.TypeUtils
TypeUtils | public class TypeUtils (Code) | | Global type conversion utilities.
author: Dmitri Plotnikov version: $Revision: 1.13 $ $Date: 2004/02/29 14:17:43 $ |
canConvert | public static boolean canConvert(Object object, Class toType)(Code) | | Returns true if the global converter can convert the supplied
object to the specified type.
|
convert | public static Object convert(Object object, Class toType)(Code) | | Converts the supplied object to the specified type. May
throw a RuntimeException.
|
getTypeConverter | public static TypeConverter getTypeConverter()(Code) | | Returns the current type converter.
|
setTypeConverter | public static synchronized void setTypeConverter(TypeConverter converter)(Code) | | Install an alternative type converter.
|
|
|