|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CompositeListener | Line # 35 | 104 | 0% | 53 | 126 | 19.7% |
0.19745223
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
(87) | |||
Result | |||
0.15923567
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.08280255
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.06369427
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
0.044585988
|
org.xwiki.rendering.test.integration.RenderingTest.execute org.xwiki.rendering.test.integration.RenderingTest.execute | 1 PASS | |
1 | /* | |
2 | * See the NOTICE file distributed with this work for additional | |
3 | * information regarding copyright ownership. | |
4 | * | |
5 | * This is free software; you can redistribute it and/or modify it | |
6 | * under the terms of the GNU Lesser General Public License as | |
7 | * published by the Free Software Foundation; either version 2.1 of | |
8 | * the License, or (at your option) any later version. | |
9 | * | |
10 | * This software is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | * | |
15 | * You should have received a copy of the GNU Lesser General Public | |
16 | * License along with this software; if not, write to the Free | |
17 | * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA | |
18 | * 02110-1301 USA, or see the FSF site: http://www.fsf.org. | |
19 | */ | |
20 | package org.xwiki.rendering.listener; | |
21 | ||
22 | import java.util.ArrayList; | |
23 | import java.util.List; | |
24 | import java.util.Map; | |
25 | ||
26 | import org.xwiki.rendering.listener.reference.ResourceReference; | |
27 | import org.xwiki.rendering.syntax.Syntax; | |
28 | ||
29 | /** | |
30 | * Send events to a list of {@link Listener}s. | |
31 | * | |
32 | * @version $Id: c75b7562be10ab17417e423c7295966c3eadbf82 $ | |
33 | * @since 2.1M1 | |
34 | */ | |
35 | public class CompositeListener implements Listener | |
36 | { | |
37 | /** | |
38 | * The listeners. | |
39 | */ | |
40 | private List<Listener> listeners = new ArrayList<Listener>(); | |
41 | ||
42 | /** | |
43 | * Add a nex listener to the list. | |
44 | * | |
45 | * @param listener a listener | |
46 | */ | |
47 | 456 | public void addListener(Listener listener) |
48 | { | |
49 | 456 | this.listeners.add(listener); |
50 | } | |
51 | ||
52 | /** | |
53 | * Get listener at the provided position in the list. | |
54 | * | |
55 | * @param i the index of the listener in the list | |
56 | * @return the listener | |
57 | */ | |
58 | 456 | public Listener getListener(int i) |
59 | { | |
60 | 456 | return this.listeners.get(i); |
61 | } | |
62 | ||
63 | 0 | @Override |
64 | public void beginDefinitionDescription() | |
65 | { | |
66 | 0 | for (Listener listener : listeners) { |
67 | 0 | listener.beginDefinitionDescription(); |
68 | } | |
69 | } | |
70 | ||
71 | 0 | @Override |
72 | public void beginDefinitionList(Map<String, String> parameters) | |
73 | { | |
74 | 0 | for (Listener listener : listeners) { |
75 | 0 | listener.beginDefinitionList(parameters); |
76 | } | |
77 | } | |
78 | ||
79 | 0 | @Override |
80 | public void beginDefinitionTerm() | |
81 | { | |
82 | 0 | for (Listener listener : listeners) { |
83 | 0 | listener.beginDefinitionTerm(); |
84 | } | |
85 | } | |
86 | ||
87 | /** | |
88 | * {@inheritDoc} | |
89 | * @since 3.0M2 | |
90 | */ | |
91 | 0 | @Override |
92 | public void beginDocument(MetaData metaData) | |
93 | { | |
94 | 0 | for (Listener listener : listeners) { |
95 | 0 | listener.beginDocument(metaData); |
96 | } | |
97 | } | |
98 | ||
99 | 2 | @Override |
100 | public void beginFormat(Format format, Map<String, String> parameters) | |
101 | { | |
102 | 2 | for (Listener listener : listeners) { |
103 | 4 | listener.beginFormat(format, parameters); |
104 | } | |
105 | } | |
106 | ||
107 | 0 | @Override |
108 | public void beginGroup(Map<String, String> parameters) | |
109 | { | |
110 | 0 | for (Listener listener : listeners) { |
111 | 0 | listener.beginGroup(parameters); |
112 | } | |
113 | } | |
114 | ||
115 | 0 | @Override |
116 | public void beginHeader(HeaderLevel level, String id, Map<String, String> parameters) | |
117 | { | |
118 | 0 | for (Listener listener : listeners) { |
119 | 0 | listener.beginHeader(level, id, parameters); |
120 | } | |
121 | } | |
122 | ||
123 | 0 | @Override |
124 | public void beginList(ListType listType, Map<String, String> parameters) | |
125 | { | |
126 | 0 | for (Listener listener : listeners) { |
127 | 0 | listener.beginList(listType, parameters); |
128 | } | |
129 | } | |
130 | ||
131 | 0 | @Override |
132 | public void beginListItem() | |
133 | { | |
134 | 0 | for (Listener listener : listeners) { |
135 | 0 | listener.beginListItem(); |
136 | } | |
137 | } | |
138 | ||
139 | 0 | @Override |
140 | public void beginMacroMarker(String name, Map<String, String> macroParameters, String content, boolean isInline) | |
141 | { | |
142 | 0 | for (Listener listener : listeners) { |
143 | 0 | listener.beginMacroMarker(name, macroParameters, content, isInline); |
144 | } | |
145 | } | |
146 | ||
147 | 0 | @Override |
148 | public void beginParagraph(Map<String, String> parameters) | |
149 | { | |
150 | 0 | for (Listener listener : listeners) { |
151 | 0 | listener.beginParagraph(parameters); |
152 | } | |
153 | } | |
154 | ||
155 | 0 | @Override |
156 | public void beginQuotation(Map<String, String> parameters) | |
157 | { | |
158 | 0 | for (Listener listener : listeners) { |
159 | 0 | listener.beginQuotation(parameters); |
160 | } | |
161 | } | |
162 | ||
163 | 0 | @Override |
164 | public void beginQuotationLine() | |
165 | { | |
166 | 0 | for (Listener listener : listeners) { |
167 | 0 | listener.beginQuotationLine(); |
168 | } | |
169 | } | |
170 | ||
171 | 0 | @Override |
172 | public void beginSection(Map<String, String> parameters) | |
173 | { | |
174 | 0 | for (Listener listener : listeners) { |
175 | 0 | listener.beginSection(parameters); |
176 | } | |
177 | } | |
178 | ||
179 | 0 | @Override |
180 | public void beginTable(Map<String, String> parameters) | |
181 | { | |
182 | 0 | for (Listener listener : listeners) { |
183 | 0 | listener.beginTable(parameters); |
184 | } | |
185 | } | |
186 | ||
187 | 0 | @Override |
188 | public void beginTableCell(Map<String, String> parameters) | |
189 | { | |
190 | 0 | for (Listener listener : listeners) { |
191 | 0 | listener.beginTableCell(parameters); |
192 | } | |
193 | } | |
194 | ||
195 | 0 | @Override |
196 | public void beginTableHeadCell(Map<String, String> parameters) | |
197 | { | |
198 | 0 | for (Listener listener : listeners) { |
199 | 0 | listener.beginTableHeadCell(parameters); |
200 | } | |
201 | } | |
202 | ||
203 | 0 | @Override |
204 | public void beginTableRow(Map<String, String> parameters) | |
205 | { | |
206 | 0 | for (Listener listener : listeners) { |
207 | 0 | listener.beginTableRow(parameters); |
208 | } | |
209 | } | |
210 | ||
211 | 0 | @Override |
212 | public void endDefinitionDescription() | |
213 | { | |
214 | 0 | for (Listener listener : listeners) { |
215 | 0 | listener.endDefinitionDescription(); |
216 | } | |
217 | } | |
218 | ||
219 | 0 | @Override |
220 | public void endDefinitionList(Map<String, String> parameters) | |
221 | { | |
222 | 0 | for (Listener listener : listeners) { |
223 | 0 | listener.endDefinitionList(parameters); |
224 | } | |
225 | } | |
226 | ||
227 | 0 | @Override |
228 | public void endDefinitionTerm() | |
229 | { | |
230 | 0 | for (Listener listener : listeners) { |
231 | 0 | listener.endDefinitionTerm(); |
232 | } | |
233 | } | |
234 | ||
235 | /** | |
236 | * {@inheritDoc} | |
237 | * @since 3.0M2 | |
238 | */ | |
239 | 0 | @Override |
240 | public void endDocument(MetaData metaData) | |
241 | { | |
242 | 0 | for (Listener listener : listeners) { |
243 | 0 | listener.endDocument(metaData); |
244 | } | |
245 | } | |
246 | ||
247 | 2 | @Override |
248 | public void endFormat(Format format, Map<String, String> parameters) | |
249 | { | |
250 | 2 | for (Listener listener : listeners) { |
251 | 4 | listener.endFormat(format, parameters); |
252 | } | |
253 | } | |
254 | ||
255 | 0 | @Override |
256 | public void endGroup(Map<String, String> parameters) | |
257 | { | |
258 | 0 | for (Listener listener : listeners) { |
259 | 0 | listener.endGroup(parameters); |
260 | } | |
261 | } | |
262 | ||
263 | 0 | @Override |
264 | public void endHeader(HeaderLevel level, String id, Map<String, String> parameters) | |
265 | { | |
266 | 0 | for (Listener listener : listeners) { |
267 | 0 | listener.endHeader(level, id, parameters); |
268 | } | |
269 | } | |
270 | ||
271 | 0 | @Override |
272 | public void endList(ListType listType, Map<String, String> parameters) | |
273 | { | |
274 | 0 | for (Listener listener : listeners) { |
275 | 0 | listener.endList(listType, parameters); |
276 | } | |
277 | } | |
278 | ||
279 | 0 | @Override |
280 | public void endListItem() | |
281 | { | |
282 | 0 | for (Listener listener : listeners) { |
283 | 0 | listener.endListItem(); |
284 | } | |
285 | } | |
286 | ||
287 | 0 | @Override |
288 | public void endMacroMarker(String name, Map<String, String> macroParameters, String content, boolean isInline) | |
289 | { | |
290 | 0 | for (Listener listener : listeners) { |
291 | 0 | listener.endMacroMarker(name, macroParameters, content, isInline); |
292 | } | |
293 | } | |
294 | ||
295 | 0 | @Override |
296 | public void endParagraph(Map<String, String> parameters) | |
297 | { | |
298 | 0 | for (Listener listener : listeners) { |
299 | 0 | listener.endParagraph(parameters); |
300 | } | |
301 | } | |
302 | ||
303 | 0 | @Override |
304 | public void endQuotation(Map<String, String> parameters) | |
305 | { | |
306 | 0 | for (Listener listener : listeners) { |
307 | 0 | listener.endQuotation(parameters); |
308 | } | |
309 | } | |
310 | ||
311 | 0 | @Override |
312 | public void endQuotationLine() | |
313 | { | |
314 | 0 | for (Listener listener : listeners) { |
315 | 0 | listener.endQuotationLine(); |
316 | } | |
317 | } | |
318 | ||
319 | 0 | @Override |
320 | public void endSection(Map<String, String> parameters) | |
321 | { | |
322 | 0 | for (Listener listener : listeners) { |
323 | 0 | listener.endSection(parameters); |
324 | } | |
325 | } | |
326 | ||
327 | 0 | @Override |
328 | public void endTable(Map<String, String> parameters) | |
329 | { | |
330 | 0 | for (Listener listener : listeners) { |
331 | 0 | listener.endTable(parameters); |
332 | } | |
333 | } | |
334 | ||
335 | 0 | @Override |
336 | public void endTableCell(Map<String, String> parameters) | |
337 | { | |
338 | 0 | for (Listener listener : listeners) { |
339 | 0 | listener.endTableCell(parameters); |
340 | } | |
341 | } | |
342 | ||
343 | 0 | @Override |
344 | public void endTableHeadCell(Map<String, String> parameters) | |
345 | { | |
346 | 0 | for (Listener listener : listeners) { |
347 | 0 | listener.endTableHeadCell(parameters); |
348 | } | |
349 | } | |
350 | ||
351 | 0 | @Override |
352 | public void endTableRow(Map<String, String> parameters) | |
353 | { | |
354 | 0 | for (Listener listener : listeners) { |
355 | 0 | listener.endTableRow(parameters); |
356 | } | |
357 | } | |
358 | ||
359 | 0 | @Override |
360 | public void onEmptyLines(int count) | |
361 | { | |
362 | 0 | for (Listener listener : listeners) { |
363 | 0 | listener.onEmptyLines(count); |
364 | } | |
365 | } | |
366 | ||
367 | 0 | @Override |
368 | public void onHorizontalLine(Map<String, String> parameters) | |
369 | { | |
370 | 0 | for (Listener listener : listeners) { |
371 | 0 | listener.onHorizontalLine(parameters); |
372 | } | |
373 | } | |
374 | ||
375 | 0 | @Override |
376 | public void onId(String name) | |
377 | { | |
378 | 0 | for (Listener listener : listeners) { |
379 | 0 | listener.onId(name); |
380 | } | |
381 | } | |
382 | ||
383 | 6 | @Override |
384 | public void onMacro(String id, Map<String, String> macroParameters, String content, boolean isInline) | |
385 | { | |
386 | 6 | for (Listener listener : listeners) { |
387 | 12 | listener.onMacro(id, macroParameters, content, isInline); |
388 | } | |
389 | } | |
390 | ||
391 | 19 | @Override |
392 | public void onNewLine() | |
393 | { | |
394 | 19 | for (Listener listener : listeners) { |
395 | 38 | listener.onNewLine(); |
396 | } | |
397 | } | |
398 | ||
399 | 0 | @Override |
400 | public void onRawText(String text, Syntax syntax) | |
401 | { | |
402 | 0 | for (Listener listener : listeners) { |
403 | 0 | listener.onRawText(text, syntax); |
404 | } | |
405 | } | |
406 | ||
407 | 294 | @Override |
408 | public void onSpace() | |
409 | { | |
410 | 294 | for (Listener listener : listeners) { |
411 | 588 | listener.onSpace(); |
412 | } | |
413 | } | |
414 | ||
415 | 37 | @Override |
416 | public void onSpecialSymbol(char symbol) | |
417 | { | |
418 | 37 | for (Listener listener : listeners) { |
419 | 74 | listener.onSpecialSymbol(symbol); |
420 | } | |
421 | } | |
422 | ||
423 | 0 | @Override |
424 | public void onVerbatim(String protectedString, boolean isInline, Map<String, String> parameters) | |
425 | { | |
426 | 0 | for (Listener listener : listeners) { |
427 | 0 | listener.onVerbatim(protectedString, isInline, parameters); |
428 | } | |
429 | } | |
430 | ||
431 | 551 | @Override |
432 | public void onWord(String word) | |
433 | { | |
434 | 551 | for (Listener listener : listeners) { |
435 | 1102 | listener.onWord(word); |
436 | } | |
437 | } | |
438 | ||
439 | /** | |
440 | * {@inheritDoc} | |
441 | * @since 2.5RC1 | |
442 | */ | |
443 | 1 | @Override |
444 | public void beginLink(ResourceReference reference, boolean isFreeStandingURI, Map<String, String> parameters) | |
445 | { | |
446 | 1 | for (Listener listener : listeners) { |
447 | 2 | listener.beginLink(reference, isFreeStandingURI, parameters); |
448 | } | |
449 | } | |
450 | ||
451 | /** | |
452 | * {@inheritDoc} | |
453 | * @since 2.5RC1 | |
454 | */ | |
455 | 1 | @Override |
456 | public void endLink(ResourceReference reference, boolean isFreeStandingURI, Map<String, String> parameters) | |
457 | { | |
458 | 1 | for (Listener listener : listeners) { |
459 | 2 | listener.endLink(reference, isFreeStandingURI, parameters); |
460 | } | |
461 | } | |
462 | ||
463 | /** | |
464 | * {@inheritDoc} | |
465 | * @since 2.5RC1 | |
466 | */ | |
467 | 0 | @Override |
468 | public void onImage(ResourceReference reference, boolean isFreeStandingURI, Map<String, String> parameters) | |
469 | { | |
470 | 0 | for (Listener listener : listeners) { |
471 | 0 | listener.onImage(reference, isFreeStandingURI, parameters); |
472 | } | |
473 | } | |
474 | ||
475 | /** | |
476 | * {@inheritDoc} | |
477 | * @since 3.0M2 | |
478 | */ | |
479 | 0 | @Override |
480 | public void beginMetaData(MetaData metadata) | |
481 | { | |
482 | 0 | for (Listener listener : listeners) { |
483 | 0 | listener.beginMetaData(metadata); |
484 | } | |
485 | } | |
486 | ||
487 | /** | |
488 | * {@inheritDoc} | |
489 | * @since 3.0M2 | |
490 | */ | |
491 | 0 | @Override |
492 | public void endMetaData(MetaData metadata) | |
493 | { | |
494 | 0 | for (Listener listener : listeners) { |
495 | 0 | listener.endMetaData(metadata); |
496 | } | |
497 | } | |
498 | } |
|