Package com.hp.hpl.jena.rdf.model

Examples of com.hp.hpl.jena.rdf.model.Model.shortForm()


      return new BlankNode(object.asNode().getBlankNodeId().toString());
    else if (object.isURIResource()) {
      Model model = statement.getModel();
      String uri = object.asNode().getURI();

      return new URINode(model.shortForm(uri));
    } else if (object.isLiteral()) {
      return new LiteralNode(object.asNode().getLiteralValue());
    } else
      return null;
  }
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.