org.openrdf.http.protocol.transaction.operations
Class ClearNamespacesOperation

java.lang.Object
  extended by org.openrdf.http.protocol.transaction.operations.ClearNamespacesOperation
All Implemented Interfaces:
TransactionOperation

public class ClearNamespacesOperation
extends java.lang.Object
implements TransactionOperation

Operation that removes all namespace declarations.

Author:
Arjohn Kampman, Leo Sauermann

Constructor Summary
ClearNamespacesOperation()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 void execute(RepositoryConnection con)
          Executes this operation on the supplied connection.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearNamespacesOperation

public ClearNamespacesOperation()
Method Detail

execute

public void execute(RepositoryConnection con)
             throws RepositoryException
Description copied from interface: TransactionOperation
Executes this operation on the supplied connection.

Specified by:
execute in interface TransactionOperation
Parameters:
con - The connection the operation should be performed on.
Throws:
RepositoryException - If such an exception is thrown by the connection while executing the operation.

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2001-2010 Aduna. All Rights Reserved.