public abstract class AbstractRDFHandler extends Object implements org.openrdf.rio.RDFHandler, AutoCloseable
RDFHandler
+ AutoCloseable
.
The implementation of AutoCloseable
allows for this class and its subclasses to be
notified by RDFpro runtime when they are no more needed, so that allocated resources can be
released if necessary. For this reason, it may be convenient to start from this class when
implementing your specialized RDFHandler
.
Modifier | Constructor and Description |
---|---|
protected |
AbstractRDFHandler()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Does nothing.
|
void |
endRDF()
Does nothing.
|
void |
handleComment(String comment)
Does nothing.
|
void |
handleNamespace(String prefix,
String uri)
Does nothing.
|
void |
handleStatement(org.openrdf.model.Statement statement)
Does nothing.
|
void |
startRDF()
Does nothing.
|
public void startRDF() throws org.openrdf.rio.RDFHandlerException
startRDF
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public void handleComment(String comment) throws org.openrdf.rio.RDFHandlerException
handleComment
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public void handleNamespace(String prefix, String uri) throws org.openrdf.rio.RDFHandlerException
handleNamespace
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public void handleStatement(org.openrdf.model.Statement statement) throws org.openrdf.rio.RDFHandlerException
handleStatement
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public void endRDF() throws org.openrdf.rio.RDFHandlerException
endRDF
in interface org.openrdf.rio.RDFHandler
org.openrdf.rio.RDFHandlerException
public void close()
close
in interface AutoCloseable
Copyright © 2015–2016 FBK-irst. All rights reserved.