| |
|
| java.lang.Object org.openrdf.rio.helpers.RDFHandlerBase org.openrdf.repository.util.RDFRemover
RDFRemover | public class RDFRemover extends RDFHandlerBase (Code) | | An RDFHandler that removes RDF data from a repository.
|
Method Summary | |
public void | enforceContext(Resource context) Enforces the supplied context upon all statements that are reported to
this RDFRemover. | public boolean | enforcesContext() Checks whether this RDFRemover enforces its context upon all statements
that are reported to it. | public Resource | getContext() Gets the context identifier that this RDFRemover enforces upon all
statements that are reported to it (in case enforcesContext()
returns true). | public void | handleStatement(Statement st) |
RDFRemover | public RDFRemover(RepositoryConnection con)(Code) | | Creates a new RDFRemover object that removes the data from the default
context.
Parameters: con - The connection to use for the removal operations. |
enforceContext | public void enforceContext(Resource context)(Code) | | Enforces the supplied context upon all statements that are reported to
this RDFRemover.
Parameters: context - A Resource identifying the context, or null for the nullcontext. |
enforcesContext | public boolean enforcesContext()(Code) | | Checks whether this RDFRemover enforces its context upon all statements
that are reported to it.
true if it enforces its context, falseotherwise. |
getContext | public Resource getContext()(Code) | | Gets the context identifier that this RDFRemover enforces upon all
statements that are reported to it (in case enforcesContext()
returns true).
A Resource identifying the context, or null if the nullcontext is enforced. |
|
|
|