|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.util.TypeUtils
Global type conversion utilities.
Constructor Summary | |
TypeUtils()
|
Method Summary | |
static boolean |
canConvert(java.lang.Object object,
java.lang.Class toType)
Returns true if the global converter can convert the supplied object to the specified type. |
static java.lang.Object |
convert(java.lang.Object object,
java.lang.Class toType)
Converts the supplied object to the specified type. |
static TypeConverter |
getTypeConverter()
Returns the current type converter. |
static void |
setTypeConverter(TypeConverter converter)
Install an alternative type converter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TypeUtils()
Method Detail |
public static void setTypeConverter(TypeConverter converter)
public static TypeConverter getTypeConverter()
public static boolean canConvert(java.lang.Object object, java.lang.Class toType)
public static java.lang.Object convert(java.lang.Object object, java.lang.Class toType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |