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.IWemListenerSemantic; |
23 |
|
|
24 |
|
|
25 |
|
@version |
26 |
|
@since |
27 |
|
|
|
|
| 20% |
Uncovered Elements: 8 (10) |
Complexity: 5 |
Complexity Density: 1 |
|
28 |
|
public class WemSemanticTagNotifier extends AbstractTagNotifier |
29 |
|
implements IWemListenerSemantic |
30 |
|
{ |
31 |
|
|
32 |
|
@param |
33 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
34 |
6 |
public WemSemanticTagNotifier(ITagListener listener)... |
35 |
|
{ |
36 |
6 |
super(listener); |
37 |
|
} |
38 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
39 |
0 |
public void beginPropertyBlock(String propertyUri, boolean doc)... |
40 |
|
{ |
41 |
0 |
fListener.beginTag(PROPERTY_BLOCK, tagParams( |
42 |
|
PROPERTY_URL, |
43 |
|
propertyUri, |
44 |
|
PROPERTY_DOC, |
45 |
|
"" + doc), EMPTY_MAP); |
46 |
|
} |
47 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
48 |
0 |
public void beginPropertyInline(String propertyUri)... |
49 |
|
{ |
50 |
0 |
fListener.beginTag( |
51 |
|
PROPERTY_INLINE, |
52 |
|
tagParams(PROPERTY_URL, propertyUri), |
53 |
|
EMPTY_MAP); |
54 |
|
} |
55 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
56 |
0 |
public void endPropertyBlock(String propertyUri, boolean doc)... |
57 |
|
{ |
58 |
0 |
fListener.endTag(PROPERTY_BLOCK, tagParams( |
59 |
|
PROPERTY_URL, |
60 |
|
propertyUri, |
61 |
|
PROPERTY_DOC, |
62 |
|
"" + doc), EMPTY_MAP); |
63 |
|
} |
64 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
65 |
0 |
public void endPropertyInline(String propertyUri)... |
66 |
|
{ |
67 |
0 |
fListener.endTag( |
68 |
|
PROPERTY_INLINE, |
69 |
|
tagParams(PROPERTY_URL, propertyUri), |
70 |
|
EMPTY_MAP); |
71 |
|
} |
72 |
|
} |