@Override public void removeAll(Iterator<? extends Statement> other) throws ModelRuntimeException { while (other.hasNext()) { Statement stmt = other.next(); removeStatement(stmt); } }
@Override public void removeAll() throws ModelRuntimeException { // fill temp Collection<Statement> temp = new LinkedList<Statement>(); for (Statement statement : this) { temp.add(statement); } // delete for (Statement s : temp) { removeStatement(s); } }
public void removeAll(Iterator<? extends Statement> other) throws ModelRuntimeException { while (other.hasNext()) { Statement stmt = other.next(); removeStatement(stmt); } }
public void removeAll() throws ModelRuntimeException { // fill temp Collection<Statement> temp = new LinkedList<Statement>(); for (Statement statement : this) { temp.add(statement); } // delete for (Statement s : temp) { removeStatement(s); } }
@Override public void removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException { removeStatement(subject, predicate, new PlainLiteralImpl(literal)); }
public void removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException { removeStatement(subject, predicate, new LanguageTagLiteralImpl(literal, languageTag)); }
public void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException { removeStatement(subject, predicate, new DatatypeLiteralImpl(literal, datatypeURI)); }
@Override public void removeStatement(Resource subject, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException { removeStatement(subject, predicate, new DatatypeLiteralImpl(literal, datatypeURI)); }
@Override public void removeStatement(Resource subject, URI predicate, String literal, String languageTag) throws ModelRuntimeException { removeStatement(subject, predicate, new LanguageTagLiteralImpl(literal, languageTag)); }
public void removeStatement(Resource subject, URI predicate, String literal) throws ModelRuntimeException { removeStatement(subject, predicate, new PlainLiteralImpl(literal)); }
public void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException { removeStatement(new URIImpl(subjectURIString), predicate, new LanguageTagLiteralImpl(literal, languageTag)); }
@Override public void removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException { removeStatement(new URIImpl(subjectURIString), predicate, new PlainLiteralImpl(literal)); }
public void removeStatement(String subjectURIString, URI predicate, String literal) throws ModelRuntimeException { removeStatement(new URIImpl(subjectURIString), predicate, new PlainLiteralImpl(literal)); }
@Override public void removeStatement(String subjectURIString, URI predicate, String literal, String languageTag) throws ModelRuntimeException { removeStatement(new URIImpl(subjectURIString), predicate, new LanguageTagLiteralImpl(literal, languageTag)); }
@Override public void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException { removeStatement(new URIImpl(subjectURIString), predicate, new DatatypeLiteralImpl(literal, datatypeURI)); }
public void removeStatement(String subjectURIString, URI predicate, String literal, URI datatypeURI) throws ModelRuntimeException { removeStatement(new URIImpl(subjectURIString), predicate, new DatatypeLiteralImpl(literal, datatypeURI)); }
public void removeStatement(Statement statement) throws ModelRuntimeException { removeStatement(statement.getSubject(), statement.getPredicate(), statement.getObject()); }