1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.feedparser.output;
18
19 import java.io.OutputStream;
20
21 import org.apache.commons.feedparser.DefaultFeedParserListener;
22 import org.apache.commons.feedparser.FeedParserListener;
23 import org.apache.commons.feedparser.FeedParserState;
24
25
26
27
28
29
30 public class RSS10_OutputFeedParserListener extends DefaultFeedParserListener
31 implements FeedParserListener {
32
33 private OutputStream out = null;
34
35
36
37
38
39
40
41 public RSS10_OutputFeedParserListener( OutputStream out ) {
42 this.out = out;
43 }
44
45
46
47
48
49
50 public void init() {}
51 public void setContext( Object context ) {}
52
53
54
55
56
57
58 public void onChannel( FeedParserState state,
59 String title,
60 String link,
61 String description ) {
62
63 }
64
65 public void onChannelEnd() {
66
67 }
68
69
70
71
72
73
74 public void onImage( FeedParserState state,
75 String title,
76 String link,
77 String url ) {
78
79 }
80
81 public void onImageEnd() {
82
83 }
84
85
86
87
88
89
90 public void onItem( FeedParserState state,
91 String title,
92 String link,
93 String description,
94 String permalink ) {
95
96 }
97
98 public void onItemEnd() {
99
100 }
101
102
103
104
105
106
107 public void finished() {
108
109 }
110
111 }
112