Package au.csiro.ontology.model

Examples of au.csiro.ontology.model.StringLiteral


                case XSD_NMTOKEN:
                case XSD_HEX_BINARY:
                case XSD_BASE_64_BINARY:
                case XSD_ANY_URI:
                case XSD_TOKEN:
                    res = new StringLiteral(literal);
                    break;
                case XSD_INTEGER:
                case XSD_NON_NEGATIVE_INTEGER:
                    if(useSimpleInts) {
                        res = new IntegerLiteral(Integer.parseInt(literal));
View Full Code Here


    public static Literal createDateLiteral(Calendar value) {
        return new DateLiteral(value);
    }

    public static Literal createStringLiteral(String value) {
        return new StringLiteral(value);
    }
View Full Code Here

TOP

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

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.