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

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


      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));
    }
    else if (TransactionXMLConstants.CLEAR_NAMESPACES_TAG.equals(tagName)) {
      txn.add(new ClearNamespacesOperation());
    }
  }
View Full Code Here


    verifyNotReadOnly();

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

      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));
    }
    else if (TransactionXMLConstants.CLEAR_NAMESPACES_TAG.equals(tagName)) {
      txn.add(new ClearNamespacesOperation());
    }
  }
View Full Code Here

  }

  public void removeNamespace(String prefix)
    throws RepositoryException
  {
    txn.add(new RemoveNamespaceOperation(prefix));
    autoCommit();
  }
View Full Code Here

TOP

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

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.