@Override public String toString() { return blankNodeId.toString() ; }
@Override public String toString() { return blankNodeId.toString() ; }
@Override public SecuredRDFNode getRDFNode(final Node n) throws ReadDeniedException, UpdateDeniedException, AuthenticationRequiredException { RDFNode rdfNode = null; if (n.isLiteral()) { rdfNode = ResourceFactory.createTypedLiteral(n.getLiteralLexicalForm(), n.getLiteralDatatype()); } else if (n.isURI()) { rdfNode = ResourceFactory.createProperty(n.getURI()); } else if (n.isBlank()) { rdfNode = ResourceFactory.createResource(n.getBlankNodeId().toString()); } else { throw new IllegalArgumentException("Illegal Node type: " + n.getClass()); } if (holder.getBaseItem().containsResource(rdfNode)) { checkRead(); } else { checkUpdate(); } if (n.isLiteral()) { return SecuredLiteralImpl.getInstance(holder.getSecuredItem(), holder.getBaseItem().getRDFNode(n).asLiteral()); } else { return SecuredResourceImpl.getInstance(holder.getSecuredItem(), holder.getBaseItem().getRDFNode(n).asResource()); } }
_logger.info("Blank _nodes in class variable positions are not supported"); aTerm = ATermUtils.makeBnode(node.getBlankNodeId().toString());
_logger.info("Blank _nodes in class variable positions are not supported"); aTerm = ATermUtils.makeBnode(node.getBlankNodeId().toString());
_logger.info("Blank _nodes in class variable positions are not supported"); aTerm = ATermUtils.makeBnode(node.getBlankNodeId().toString());