01: /*
02: * Copyright Aduna (http://www.aduna-software.com/) (c) 1997-2006.
03: *
04: * Licensed under the Aduna BSD-style license.
05: */
06: package org.openrdf.query;
07:
08: import java.util.List;
09:
10: import org.openrdf.query.BindingSet;
11: import org.openrdf.query.TupleQueryResultHandler;
12: import org.openrdf.query.TupleQueryResultHandlerException;
13:
14: /**
15: * Base class for {@link TupleQueryResultHandler}s with dummy implementations
16: * of all methods. This class is a useful superclass for classes that implement
17: * only one or two TupleQueryResultHandler methods.
18: */
19: public class TupleQueryResultHandlerBase implements
20: TupleQueryResultHandler {
21:
22: public void startQueryResult(List<String> bindingNames)
23: throws TupleQueryResultHandlerException {
24: }
25:
26: public void endQueryResult()
27: throws TupleQueryResultHandlerException {
28: }
29:
30: public void handleSolution(BindingSet bindingSet)
31: throws TupleQueryResultHandlerException {
32: }
33:
34: }
|