Clover Coverage Report - XWiki Rendering - Parent POM 4.0-SNAPSHOT (Aggregated)
Coverage timestamp: Mon Mar 12 2012 18:03:13 CET
../../../../img/srcFileCovDistChart0.png 90% of files have more coverage
0   294   51   0
0   165   -   51
51     1  
1    
 
  VoidListener       Line # 33 0 0% 51 51 0% 0.0
 
No Tests
 
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.Map;
23   
24    import org.xwiki.rendering.listener.reference.ResourceReference;
25    import org.xwiki.rendering.syntax.Syntax;
26   
27    /**
28    * A Listener that does nothing.
29    *
30    * @version $Id$
31    * @since 3.2RC1
32    */
 
33    public class VoidListener implements Listener
34    {
 
35  0 toggle @Override public void beginDefinitionDescription()
36    {
37    // Do nothing.
38    }
39   
 
40  0 toggle @Override public void beginDefinitionList(Map<String, String> parameters)
41    {
42    // Do nothing.
43    }
44   
 
45  0 toggle @Override public void beginDefinitionTerm()
46    {
47    // Do nothing.
48    }
49   
 
50  0 toggle @Override public void beginDocument(MetaData metaData)
51    {
52    // Do nothing.
53    }
54   
 
55  0 toggle @Override public void beginFormat(Format format, Map<String, String> parameters)
56    {
57    // Do nothing.
58    }
59   
 
60  0 toggle @Override public void beginGroup(Map<String, String> parameters)
61    {
62    // Do nothing.
63    }
64   
 
65  0 toggle @Override public void beginHeader(HeaderLevel level, String id, Map<String, String> parameters)
66    {
67    // Do nothing.
68    }
69   
 
70  0 toggle @Override public void beginList(ListType listType, Map<String, String> parameters)
71    {
72    // Do nothing.
73    }
74   
 
75  0 toggle @Override public void beginListItem()
76    {
77    // Do nothing.
78    }
79   
 
80  0 toggle @Override
81    public void beginMacroMarker(String name, Map<String, String> macroParameters, String content, boolean isInline)
82    {
83    // Do nothing.
84    }
85   
 
86  0 toggle @Override public void beginMetaData(MetaData metadata)
87    {
88    // Do nothing.
89    }
90   
 
91  0 toggle @Override public void beginParagraph(Map<String, String> parameters)
92    {
93    // Do nothing.
94    }
95   
 
96  0 toggle @Override public void beginQuotation(Map<String, String> parameters)
97    {
98    // Do nothing.
99    }
100   
 
101  0 toggle @Override public void beginQuotationLine()
102    {
103    // Do nothing.
104    }
105   
 
106  0 toggle @Override public void beginSection(Map<String, String> parameters)
107    {
108    // Do nothing.
109    }
110   
 
111  0 toggle @Override public void beginTable(Map<String, String> parameters)
112    {
113    // Do nothing.
114    }
115   
 
116  0 toggle @Override public void beginTableCell(Map<String, String> parameters)
117    {
118    // Do nothing.
119    }
120   
 
121  0 toggle @Override public void beginTableHeadCell(Map<String, String> parameters)
122    {
123    // Do nothing.
124    }
125   
 
126  0 toggle @Override public void beginTableRow(Map<String, String> parameters)
127    {
128    // Do nothing.
129    }
130   
 
131  0 toggle @Override public void endDefinitionDescription()
132    {
133    // Do nothing.
134    }
135   
 
136  0 toggle @Override public void endDefinitionList(Map<String, String> parameters)
137    {
138    // Do nothing.
139    }
140   
 
141  0 toggle @Override public void endDefinitionTerm()
142    {
143    // Do nothing.
144    }
145   
 
146  0 toggle @Override public void endDocument(MetaData metaData)
147    {
148    // Do nothing.
149    }
150   
 
151  0 toggle @Override public void endFormat(Format format, Map<String, String> parameters)
152    {
153    // Do nothing.
154    }
155   
 
156  0 toggle @Override public void endGroup(Map<String, String> parameters)
157    {
158    // Do nothing.
159    }
160   
 
161  0 toggle @Override public void endHeader(HeaderLevel level, String id, Map<String, String> parameters)
162    {
163    // Do nothing.
164    }
165   
 
166  0 toggle @Override public void endList(ListType listType, Map<String, String> parameters)
167    {
168    // Do nothing.
169    }
170   
 
171  0 toggle @Override public void endListItem()
172    {
173    // Do nothing.
174    }
175   
 
176  0 toggle @Override
177    public void endMacroMarker(String name, Map<String, String> macroParameters, String content, boolean isInline)
178    {
179    // Do nothing.
180    }
181   
 
182  0 toggle @Override public void endMetaData(MetaData metadata)
183    {
184    // Do nothing.
185    }
186   
 
187  0 toggle @Override public void endParagraph(Map<String, String> parameters)
188    {
189    // Do nothing.
190    }
191   
 
192  0 toggle @Override public void endQuotation(Map<String, String> parameters)
193    {
194    // Do nothing.
195    }
196   
 
197  0 toggle @Override public void endQuotationLine()
198    {
199    // Do nothing.
200    }
201   
 
202  0 toggle @Override public void endSection(Map<String, String> parameters)
203    {
204    // Do nothing.
205    }
206   
 
207  0 toggle @Override public void endTable(Map<String, String> parameters)
208    {
209    // Do nothing.
210    }
211   
 
212  0 toggle @Override public void endTableCell(Map<String, String> parameters)
213    {
214    // Do nothing.
215    }
216   
 
217  0 toggle @Override public void endTableHeadCell(Map<String, String> parameters)
218    {
219    // Do nothing.
220    }
221   
 
222  0 toggle @Override public void endTableRow(Map<String, String> parameters)
223    {
224    // Do nothing.
225    }
226   
 
227  0 toggle @Override public void onEmptyLines(int count)
228    {
229    // Do nothing.
230    }
231   
 
232  0 toggle @Override public void onHorizontalLine(Map<String, String> parameters)
233    {
234    // Do nothing.
235    }
236   
 
237  0 toggle @Override public void onId(String name)
238    {
239    // Do nothing.
240    }
241   
 
242  0 toggle @Override public void onMacro(String id, Map<String, String> macroParameters, String content, boolean isInline)
243    {
244    // Do nothing.
245    }
246   
 
247  0 toggle @Override public void onNewLine()
248    {
249    // Do nothing.
250    }
251   
 
252  0 toggle @Override public void onRawText(String rawContent, Syntax syntax)
253    {
254    // Do nothing.
255    }
256   
 
257  0 toggle @Override public void onSpace()
258    {
259    // Do nothing.
260    }
261   
 
262  0 toggle @Override public void onSpecialSymbol(char symbol)
263    {
264    // Do nothing.
265    }
266   
 
267  0 toggle @Override public void onVerbatim(String protectedString, boolean isInline, Map<String, String> parameters)
268    {
269    // Do nothing.
270    }
271   
 
272  0 toggle @Override public void onWord(String word)
273    {
274    // Do nothing.
275    }
276   
 
277  0 toggle @Override
278    public void onImage(ResourceReference reference, boolean isFreeStandingURI, Map<String, String> parameters)
279    {
280    // Do nothing.
281    }
282   
 
283  0 toggle @Override
284    public void beginLink(ResourceReference reference, boolean isFreeStandingURI, Map<String, String> parameters)
285    {
286    // Do nothing.
287    }
288   
 
289  0 toggle @Override
290    public void endLink(ResourceReference reference, boolean isFreeStandingURI, Map<String, String> parameters)
291    {
292    // Do nothing.
293    }
294    }