Package org.jrdf.graph.global

Examples of org.jrdf.graph.global.LiteralImpl


        final Node value = getValue(str);
        if (value != null) {
            Node node = value;
            if (Literal.class.isAssignableFrom(node.getClass())) {
                Literal literal = (Literal) value;
                return new LiteralImpl(literal.getLexicalForm());
            }
        }
        return null;
    }
View Full Code Here


        final Node value = getValue(lang);
        if (value != null) {
            Node node = value;
            if (Literal.class.isAssignableFrom(node.getClass())) {
                Literal literal = (Literal) node;
                return new LiteralImpl(literal.getLanguage());
            }
        }
        return null;
    }
View Full Code Here

    @Override
    public Node visitBound(BoundOperator bound) {
        final Node value = getValue(bound);
        boolean contradiction = (value == null);
        return new LiteralImpl(Boolean.toString(contradiction), XSD.BOOLEAN);
    }
View Full Code Here

TOP

Related Classes of org.jrdf.graph.global.LiteralImpl

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.