public class TimeLimitRDFHandler extends RDFHandlerWrapper
| Constructor and Description |
|---|
TimeLimitRDFHandler(RDFHandler rdfHandler,
long timeLimit) |
| Modifier and Type | Method and Description |
|---|---|
void |
endRDF()
Signals the end of the RDF data.
|
void |
handleComment(String comment)
Handles a comment.
|
void |
handleNamespace(String prefix,
String uri)
Handles a namespace declaration/definition.
|
void |
handleStatement(Statement st)
Handles a statement.
|
void |
startRDF()
Signals the start of the RDF data.
|
getModelFactorypublic TimeLimitRDFHandler(RDFHandler rdfHandler, long timeLimit)
public void startRDF()
throws RDFHandlerException
RDFHandlerstartRDF in interface RDFHandlerstartRDF in class RDFHandlerWrapperRDFHandlerException - If the RDF handler has encountered an unrecoverable error.public void endRDF()
throws RDFHandlerException
RDFHandlerendRDF in interface RDFHandlerendRDF in class RDFHandlerWrapperRDFHandlerException - If the RDF handler has encountered an unrecoverable error.public void handleNamespace(String prefix, String uri) throws RDFHandlerException
RDFHandlerhandleNamespace in interface RDFHandlerhandleNamespace in class RDFHandlerWrapperprefix - The prefix for the namespace, or an empty string in case of a default namespace.uri - The URI that the prefix maps to.RDFHandlerException - If the RDF handler has encountered an unrecoverable error.public void handleStatement(Statement st) throws RDFHandlerException
RDFHandlerhandleStatement in interface RDFHandlerhandleStatement in class RDFHandlerWrapperst - The statement.RDFHandlerException - If the RDF handler has encountered an unrecoverable error.public void handleComment(String comment) throws RDFHandlerException
RDFHandlerhandleComment in interface RDFHandlerhandleComment in class RDFHandlerWrappercomment - The comment.RDFHandlerException - If the RDF handler has encountered an unrecoverable error.Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.