/* (non-Javadoc)
  * @see de.jtheuer.sesame.WriteableContext#add(org.openrdf.model.Statement)
  */
 public synchronized void add(Statement statement) throws RepositoryException {
   RepositoryConnection connection = repository.getConnection();
   try {
     connection.add(statement, context);
   } finally {
     connection.close();
   }
 }
 /* (non-Javadoc)
  * @see de.jtheuer.sesame.WriteableContext#clear()
  */
 public synchronized void clear() throws RepositoryException {
   RepositoryConnection connection = repository.getConnection();
   try {
     connection.clear(context);
   } finally {
     connection.close();
   }
 }
 /* (non-Javadoc)
  * @see de.jtheuer.sesame.WriteableContext#removeStatements(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.Value)
  */
 public void removeStatements(Resource subject, URI predicate, Value object)
     throws RepositoryException {
   RepositoryConnection connection = repository.getConnection();
   try {
     connection.remove(subject, predicate, object, context);
   } finally {
     connection.close();
   }
 }
 /* (non-Javadoc)
  * @see de.jtheuer.sesame.WriteableContext#add(org.openrdf.model.Resource, org.openrdf.model.URI, org.openrdf.model.Value)
  */
 public synchronized void add(Resource subject, URI predicate, Value object)
     throws RepositoryException {
   RepositoryConnection connection = repository.getConnection();
   try {
     connection.add(subject, predicate, object, context);
   } finally {
     connection.close();
   }
 }
 /* (non-Javadoc)
  * @see de.jtheuer.sesame.WriteableContext#add(java.io.Reader, java.lang.String, org.openrdf.rio.RDFFormat)
  */
 public synchronized void add(Reader reader, String baseURI, RDFFormat dataFormat)
     throws RDFParseException, RepositoryException, IOException {
   RepositoryConnection connection = repository.getConnection();
   try {
     connection.add(reader, baseURI, dataFormat, context);
   } finally {
     connection.close();
   }
 }