Package org.ontoware.rdf2go.model.node

Examples of org.ontoware.rdf2go.model.node.BlankNode.asBlankNode()


            predicate, object)));
  }
 
  public void testCreateBlankNode() {
    BlankNode node = this.model.createBlankNode();
    assertEquals(node, node.asBlankNode());
  }
 
  public void testCreateDatatypeLiteral() {
    DatatypeLiteral datatypeLiteral = this.model.createDatatypeLiteral("literal", dt);
    assertEquals("literal^^" + dt, datatypeLiteral.asLiteral().toString());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.