public NamespaceIterator getNamespaces() { // logger.info("getNamespaces ()"); NamespaceIterator result = null; ; result = _vRepository.getNamespaces(); return result; }
public void addStatement(Resource subj, URI pred, Value obj) throws SailUpdateException { // logger.info("addStatement ()"); if (!transactionStarted()) { throw new SailUpdateException("no transaction started."); } _vRepository.addSingleStatement(subj, pred, obj); // logger.info("Adding statement (" + subj + ", " + pred + ", " + obj + ")"); }
public void clearRepository() throws SailUpdateException { // logger.info("clearRepository ()"); if (!transactionStarted()) { throw new SailUpdateException("no transaction started."); } try { _vRepository.clear(listener); } catch (Exception e) { e.printStackTrace(); } }
public ValueFactory getValueFactory() { // logger.info("getValueFactory ()"); return _vRepository.getValueFactory(); }