Package uk.ac.open.kmi.smartproducts.sesame.sail.model

Examples of uk.ac.open.kmi.smartproducts.sesame.sail.model.NativeBNode


  private NativeBNode data2bnode(int id, byte[] data)
    throws IOException
  {
    String nodeID = new String(data, 1, data.length - 1, "UTF-8");
    return new NativeBNode(revision, nodeID, id);
  }
View Full Code Here


  public NativeURI createURI(String namespace, String localName) {
    return new NativeURI(revision, namespace, localName);
  }

  public NativeBNode createBNode(String nodeID) {
    return new NativeBNode(revision, nodeID);
  }
View Full Code Here

  public NativeBNode getNativeBNode(BNode bnode) {
    if (isOwnValue(bnode)) {
      return (NativeBNode)bnode;
    }

    return new NativeBNode(revision, bnode.getID());
  }
View Full Code Here

TOP

Related Classes of uk.ac.open.kmi.smartproducts.sesame.sail.model.NativeBNode

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.