return xsltObj.toString();
}
else if(javaClass.isPrimitive())
{
// Assume a number conversion
XString xstr = new XString(xsltObj.toString());
double num = xstr.num();
return convertDoubleToNumber(num, javaClass);
}
else if(javaClass == java.lang.Class.class)
{
return xsltObj.getClass();