01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2007.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.rio.helpers;
07:
08: import org.openrdf.model.Statement;
09:
10: import org.openrdf.rio.RDFHandler;
11: import org.openrdf.rio.RDFHandlerException;
12:
13: /**
14: * Base class for {@link RDFHandler}s with dummy implementations of all
15: * methods.
16: */
17: public class RDFHandlerBase implements RDFHandler {
18:
19: public void startRDF() throws RDFHandlerException {
20: }
21:
22: public void endRDF() throws RDFHandlerException {
23: }
24:
25: public void handleNamespace(String prefix, String uri)
26: throws RDFHandlerException {
27: }
28:
29: public void handleStatement(Statement st)
30: throws RDFHandlerException {
31: }
32:
33: public void handleComment(String comment)
34: throws RDFHandlerException {
35: }
36: }
|