|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RDFHandler
An interface defining methods related to RDF data handling. RDFHandler is both used as a "consumer" and as a "producer" interface. As such it can be used both as an interface for receiving RDF data, for example by listening to the results of an RDF parser, and as an interface for reporting RDF data, for example to an object that serializes RDF data to an RDF/XML document.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||