535536537538539540541
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); }
623624625626627628629
public NativeURI createURI(String namespace, String localName) { return new NativeURI(revision, namespace, localName); } public NativeBNode createBNode(String nodeID) { return new NativeBNode(revision, nodeID); }
702703704705706707708
public NativeBNode getNativeBNode(BNode bnode) { if (isOwnValue(bnode)) { return (NativeBNode)bnode; } return new NativeBNode(revision, bnode.getID()); }