1 | package eu.clarin.sru.client; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | |
---|
5 | import javax.xml.stream.XMLStreamException; |
---|
6 | import javax.xml.stream.XMLStreamReader; |
---|
7 | |
---|
8 | public class SRUDefaultHandlerAdapter implements SRUDefaultHandler { |
---|
9 | |
---|
10 | @Override |
---|
11 | public void onDiagnostics(List<SRUDiagnostic> diagnostics) |
---|
12 | throws SRUClientException { |
---|
13 | } |
---|
14 | |
---|
15 | @Override |
---|
16 | public void onRequestStatistics(int bytes, long millisTotal, |
---|
17 | long millisNetwork, long millisParsing) { |
---|
18 | } |
---|
19 | |
---|
20 | |
---|
21 | @Override |
---|
22 | public void onExtraResponseData(XMLStreamReader reader) |
---|
23 | throws XMLStreamException, SRUClientException { |
---|
24 | } |
---|
25 | |
---|
26 | |
---|
27 | @Override |
---|
28 | public void onStartTerms() throws SRUClientException { |
---|
29 | } |
---|
30 | |
---|
31 | |
---|
32 | @Override |
---|
33 | public void onFinishTerms() throws SRUClientException { |
---|
34 | } |
---|
35 | |
---|
36 | |
---|
37 | @Override |
---|
38 | public void onTerm(String value, int numberOfRecords, String displayTerm, |
---|
39 | WhereInList whereInList) throws SRUClientException { |
---|
40 | } |
---|
41 | |
---|
42 | |
---|
43 | @Override |
---|
44 | public void onExtraTermData(String value, XMLStreamReader reader) |
---|
45 | throws XMLStreamException, SRUClientException { |
---|
46 | } |
---|
47 | |
---|
48 | |
---|
49 | @Override |
---|
50 | public void onStartRecords(int numberOfRecords, int resultSetId, |
---|
51 | int resultSetIdleTime) throws SRUClientException { |
---|
52 | } |
---|
53 | |
---|
54 | |
---|
55 | @Override |
---|
56 | public void onFinishRecords(int nextRecordPosition) |
---|
57 | throws SRUClientException { |
---|
58 | } |
---|
59 | |
---|
60 | |
---|
61 | @Override |
---|
62 | public void onRecord(String identifier, int position, SRURecordData data) |
---|
63 | throws SRUClientException { |
---|
64 | } |
---|
65 | |
---|
66 | |
---|
67 | @Override |
---|
68 | public void onSurrogateRecord(String identifier, int position, |
---|
69 | SRUDiagnostic data) throws SRUClientException { |
---|
70 | } |
---|
71 | |
---|
72 | |
---|
73 | @Override |
---|
74 | public void onExtraRecordData(String identifier, int position, |
---|
75 | XMLStreamReader reader) throws XMLStreamException, |
---|
76 | SRUClientException { |
---|
77 | } |
---|
78 | |
---|
79 | } // class SRUDefaultHandler |
---|