Clover Coverage Report - XWiki Rendering - Parent POM 4.0-SNAPSHOT (Aggregated)
Coverage timestamp: Mon Mar 12 2012 18:03:13 CET
../../../../img/srcFileCovDistChart7.png 76% of files have more coverage
0   67   6   0
0   29   -   6
6     1  
1    
 
  InlineFilterListener       Line # 30 0 0% 6 2 66.7% 0.6666667
 
  (111)
 
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    /**
25    * Wrap a listener and skip begin/endDocument events.
26    *
27    * @version $Id$
28    * @since 3.0M3
29    */
 
30    public class InlineFilterListener extends WrappingListener
31    {
 
32  165 toggle @Override
33    public void beginDocument(MetaData metaData)
34    {
35    // Disable this event
36    }
37   
 
38  165 toggle @Override
39    public void endDocument(MetaData metaData)
40    {
41    // Disable this event
42    }
43   
 
44  0 toggle @Override
45    public void beginSection(Map<String, String> parameters)
46    {
47    // Disable this event
48    }
49   
 
50  0 toggle @Override
51    public void endSection(Map<String, String> parameters)
52    {
53    // Disable this event
54    }
55   
 
56  165 toggle @Override
57    public void beginParagraph(Map<String, String> parameters)
58    {
59    // Disable this event
60    }
61   
 
62  165 toggle @Override
63    public void endParagraph(Map<String, String> parameters)
64    {
65    // Disable this event
66    }
67    }