Package org.openrdf.http.protocol.transaction.operations

Examples of org.openrdf.http.protocol.transaction.operations.AddStatementOperation


      if (subject == null || predicate == null || object == null) {
        throw new SAXException(
            "Subject, predicate and object cannot be null for an AddStatementOperation");
      }
      return new AddStatementOperation(subject, predicate, object, contexts);
    }
    catch (ClassCastException e) {
      throw new SAXException("Invalid argument(s) for AddStatementOperation", e);
    }
  }
View Full Code Here


      throw new RepositoryReadOnlyException();
    }
    if (repository.isIllegal(subject, predicate, object, contexts)) {
      throw new IllegalStatementException();
    }
    add(new AddStatementOperation(subject, predicate, object, contexts));
  }
View Full Code Here

      if (subject == null || predicate == null || object == null) {
        throw new SAXException(
            "Subject, predicate and object cannot be null for an AddStatementOperation");
      }
      return new AddStatementOperation(subject, predicate, object, contexts);
    }
    catch (ClassCastException e) {
      throw new SAXException("Invalid argument(s) for AddStatementOperation", e);
    }
  }
View Full Code Here

  @Override
  protected void addWithoutCommit(Resource subject, URI predicate, Value object, Resource... contexts)
    throws RepositoryException
  {
    txn.add(new AddStatementOperation(subject, predicate, object, contexts));
  }
View Full Code Here

TOP

Related Classes of org.openrdf.http.protocol.transaction.operations.AddStatementOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.