177178179180181182183184185186187
Value object = parsedValues.get(2); Resource[] contexts = createContexts(3); parsedValues.clear(); return new RemoveStatementsOperation(subject, predicate, object, contexts); } catch (ClassCastException e) { throw new SAXException("Invalid argument(s) for RemoveStatementsOperation", e); } }
489490491492493494495496
if (repository.isReadOnly()) { throw new RepositoryReadOnlyException(); } if (!noMatch(subject, predicate, object, true, contexts)) { add(new RemoveStatementsOperation(subject, predicate, object, contexts)); } }
174175176177178179180181182183184
237238239240241242243
@Override protected void removeWithoutCommit(Resource subject, URI predicate, Value object, Resource... contexts) throws RepositoryException { txn.add(new RemoveStatementsOperation(subject, predicate, object, contexts)); }