|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openrdf.rio.helpers.RDFHandlerBase
org.openrdf.repository.util.RDFRemover
public class RDFRemover
An RDFHandler that removes RDF data from a repository.
| Constructor Summary | |
|---|---|
RDFRemover(RepositoryConnection con)
Creates a new RDFRemover object that removes the data from the default context. |
|
| Method Summary | |
|---|---|
void |
enforceContext(Resource context)
Enforces the supplied context upon all statements that are reported to this RDFRemover. |
boolean |
enforcesContext()
Checks whether this RDFRemover enforces its context upon all statements that are reported to it. |
Resource |
getContext()
Gets the context identifier that this RDFRemover enforces upon all statements that are reported to it (in case enforcesContext() returns true). |
void |
handleStatement(Statement st)
Handles a statement. |
| Methods inherited from class org.openrdf.rio.helpers.RDFHandlerBase |
|---|
endRDF, handleComment, handleNamespace, startRDF |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RDFRemover(RepositoryConnection con)
con - The connection to use for the removal operations.| Method Detail |
|---|
public void enforceContext(Resource context)
context - A Resource identifying the context, or null for the null
context.public boolean enforcesContext()
public Resource getContext()
public void handleStatement(Statement st)
throws RDFHandlerException
RDFHandler
handleStatement in interface RDFHandlerhandleStatement in class RDFHandlerBasest - The statement.
RDFHandlerException - If the RDF handler has encountered an unrecoverable error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||