1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.rendering.wikimodel.xml; |
21 |
|
|
22 |
|
import org.xwiki.rendering.wikimodel.IWemListenerList; |
23 |
|
import org.xwiki.rendering.wikimodel.WikiParameters; |
24 |
|
|
25 |
|
|
26 |
|
@version |
27 |
|
@since |
28 |
|
|
|
|
| 38.9% |
Uncovered Elements: 22 (36) |
Complexity: 17 |
Complexity Density: 1 |
|
29 |
|
public class WemListTagNotifier extends AbstractTagNotifier |
30 |
|
implements |
31 |
|
IWemListenerList |
32 |
|
{ |
33 |
|
|
34 |
|
@param |
35 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
6 |
public WemListTagNotifier(ITagListener listener)... |
37 |
|
{ |
38 |
6 |
super(listener); |
39 |
|
} |
40 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
0 |
public void beginDefinitionDescription()... |
42 |
|
{ |
43 |
0 |
fListener.beginTag(DEFINITION_DESCRIPTION, EMPTY_MAP, EMPTY_MAP); |
44 |
|
} |
45 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
46 |
0 |
public void beginDefinitionList(WikiParameters params)... |
47 |
|
{ |
48 |
0 |
fListener.beginTag(DEFINITION_LIST, EMPTY_MAP, EMPTY_MAP); |
49 |
|
} |
50 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
51 |
0 |
public void beginDefinitionTerm()... |
52 |
|
{ |
53 |
0 |
fListener.beginTag(DEFINITION_TERM, EMPTY_MAP, EMPTY_MAP); |
54 |
|
} |
55 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
56 |
3 |
public void beginList(WikiParameters params, boolean ordered)... |
57 |
|
{ |
58 |
3 |
String tagName = ordered ? LIST_ORDERED : LIST_UNORDERED; |
59 |
3 |
fListener.beginTag(tagName, EMPTY_MAP, userParams(params)); |
60 |
|
} |
61 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
62 |
5 |
public void beginListItem()... |
63 |
|
{ |
64 |
5 |
fListener.beginTag(LIST_ITEM, EMPTY_MAP, EMPTY_MAP); |
65 |
|
} |
66 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
67 |
0 |
public void beginQuotation(WikiParameters params)... |
68 |
|
{ |
69 |
0 |
fListener.beginTag(QUOTATION, EMPTY_MAP, userParams(params)); |
70 |
|
} |
71 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
72 |
0 |
public void beginQuotationLine()... |
73 |
|
{ |
74 |
0 |
fListener.beginTag(QUOTATION_LINE, EMPTY_MAP, EMPTY_MAP); |
75 |
|
} |
76 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
77 |
0 |
public void endDefinitionDescription()... |
78 |
|
{ |
79 |
0 |
fListener.endTag(DEFINITION_DESCRIPTION, EMPTY_MAP, EMPTY_MAP); |
80 |
|
} |
81 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
82 |
0 |
public void endDefinitionList(WikiParameters params)... |
83 |
|
{ |
84 |
0 |
fListener.endTag(DEFINITION_LIST, EMPTY_MAP, userParams(params)); |
85 |
|
} |
86 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
87 |
0 |
public void endDefinitionTerm()... |
88 |
|
{ |
89 |
0 |
fListener.endTag(DEFINITION_TERM, EMPTY_MAP, EMPTY_MAP); |
90 |
|
} |
91 |
|
|
|
|
| 75% |
Uncovered Elements: 1 (4) |
Complexity: 2 |
Complexity Density: 1 |
|
92 |
3 |
public void endList(WikiParameters params, boolean ordered)... |
93 |
|
{ |
94 |
3 |
String tagName = ordered ? LIST_ORDERED : LIST_UNORDERED; |
95 |
3 |
fListener.endTag(tagName, EMPTY_MAP, userParams(params)); |
96 |
|
} |
97 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
98 |
5 |
public void endListItem()... |
99 |
|
{ |
100 |
5 |
fListener.endTag(LIST_ITEM, EMPTY_MAP, EMPTY_MAP); |
101 |
|
} |
102 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
103 |
0 |
public void endQuotation(WikiParameters params)... |
104 |
|
{ |
105 |
0 |
fListener.endTag(QUOTATION, EMPTY_MAP, userParams(params)); |
106 |
|
} |
107 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
108 |
0 |
public void endQuotationLine()... |
109 |
|
{ |
110 |
0 |
fListener.endTag(QUOTATION_LINE, EMPTY_MAP, EMPTY_MAP); |
111 |
|
} |
112 |
|
} |