1. Project Clover database Sat Feb 2 2019 06:45:20 CET
  2. Package org.xwiki.rendering.listener

File InlineFilterListener.java

 

Coverage histogram

../../../../img/srcFileCovDistChart7.png
66% of files have more coverage

Code metrics

0
0
6
1
67
29
6
-
0
6
1

Classes

Class Line # Actions
InlineFilterListener 30 0 0% 6 2
0.666666766.7%
 

Contributing tests

This file is covered by 165 tests. .

Source view

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: 008ec12669c8298c57248b366a8286cc5ba4d75e $
28    * @since 3.0M3
29    */
 
30    public class InlineFilterListener extends WrappingListener
31    {
 
32  24184 toggle @Override
33    public void beginDocument(MetaData metadata)
34    {
35    // Disable this event
36    }
37   
 
38  24186 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  24116 toggle @Override
57    public void beginParagraph(Map<String, String> parameters)
58    {
59    // Disable this event
60    }
61   
 
62  24117 toggle @Override
63    public void endParagraph(Map<String, String> parameters)
64    {
65    // Disable this event
66    }
67    }