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

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


      parsedValues.add(null);
    }
    else if (TransactionXMLConstants.SET_NAMESPACE_TAG.equals(tagName)) {
      String prefix = atts.get(TransactionXMLConstants.PREFIX_ATT);
      String name = atts.get(TransactionXMLConstants.NAME_ATT);
      txn.add(new SetNamespaceOperation(prefix, name));
    }
    else if (TransactionXMLConstants.REMOVE_NAMESPACE_TAG.equals(tagName)) {
      String prefix = atts.get(TransactionXMLConstants.PREFIX_ATT);
      txn.add(new RemoveNamespaceOperation(prefix));
    }
View Full Code Here


    verifyNotReadOnly();

    if (repository.isReadOnly()) {
      throw new RepositoryReadOnlyException();
    }
    add(new SetNamespaceOperation(prefix, name));
  }
View Full Code Here

      parsedValues.add(null);
    }
    else if (TransactionXMLConstants.SET_NAMESPACE_TAG.equals(tagName)) {
      String prefix = atts.get(TransactionXMLConstants.PREFIX_ATT);
      String name = atts.get(TransactionXMLConstants.NAME_ATT);
      txn.add(new SetNamespaceOperation(prefix, name));
    }
    else if (TransactionXMLConstants.REMOVE_NAMESPACE_TAG.equals(tagName)) {
      String prefix = atts.get(TransactionXMLConstants.PREFIX_ATT);
      txn.add(new RemoveNamespaceOperation(prefix));
    }
View Full Code Here

  }

  public void setNamespace(String prefix, String name)
    throws RepositoryException
  {
    txn.add(new SetNamespaceOperation(prefix, name));
    autoCommit();
  }
View Full Code Here

TOP

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

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.