Package au.csiro.ontology.model

Examples of au.csiro.ontology.model.BigIntegerLiteral


                case XSD_INTEGER:
                case XSD_NON_NEGATIVE_INTEGER:
                    if(useSimpleInts) {
                        res = new IntegerLiteral(Integer.parseInt(literal));
                    } else {
                        res = new BigIntegerLiteral(new BigInteger(literal));
                    }
                    break;
                case XSD_DATE_TIME:
                    res = new DateLiteral(DatatypeConverter.parseDateTime(literal));
                    break;
View Full Code Here


    public static Literal createDecimalLiteral(BigDecimal value) {
        return new DecimalLiteral(value);
    }
   
    public static Literal createBigIntegerLiteral(long value) {
        return new BigIntegerLiteral(value);
    }
View Full Code Here

    public static Literal createBigIntegerLiteral(long value) {
        return new BigIntegerLiteral(value);
    }
   
    public static Literal createBigIntegerLiteral(BigInteger value) {
        return new BigIntegerLiteral(value);
    }
View Full Code Here

TOP

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

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.