Package au.csiro.ontology.model

Examples of au.csiro.ontology.model.FloatLiteral


                    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:
View Full Code Here


    public static Literal createIntegerLiteral(int value) {
        return new IntegerLiteral(value);
    }
   
    public static Literal createFloatLiteral(float value) {
        return new FloatLiteral(value);
    }
View Full Code Here

TOP

Related Classes of au.csiro.ontology.model.FloatLiteral

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.