public interface RDFHandler
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.
|
void startRDF() throws RDFHandlerException
RDFHandlerException
- If the RDF handler has encountered an unrecoverable error.void endRDF() throws RDFHandlerException
RDFHandlerException
- If the RDF handler has encountered an unrecoverable error.void handleNamespace(String prefix, String uri) throws RDFHandlerException
prefix
- 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.void handleStatement(Statement st) throws RDFHandlerException
st
- The statement.RDFHandlerException
- If the RDF handler has encountered an unrecoverable error.void handleComment(String comment) throws RDFHandlerException
comment
- The comment.RDFHandlerException
- If the RDF handler has encountered an unrecoverable error.Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.