401402403404405406407408409410411
break; case OWL_RATIONAL: case OWL_REAL: case XSD_DECIMAL: if(useSimpleFloats) { res = new FloatLiteral(Float.parseFloat(literal)); } else { res = new DecimalLiteral(new BigDecimal(literal)); } break; default:
81828384858687
public static Literal createIntegerLiteral(int value) { return new IntegerLiteral(value); } public static Literal createFloatLiteral(float value) { return new FloatLiteral(value); }