1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.qedeq.kernel.bo.service.unicode; |
17 |
|
|
18 |
|
import org.qedeq.base.io.Parameters; |
19 |
|
import org.qedeq.kernel.bo.module.KernelQedeqBo; |
20 |
|
import org.qedeq.kernel.bo.module.PluginBo; |
21 |
|
import org.qedeq.kernel.bo.module.PluginExecutor; |
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
@author |
28 |
|
|
|
|
| 57.1% |
Uncovered Elements: 6 (14) |
Complexity: 6 |
Complexity Density: 0.75 |
|
29 |
|
public final class Qedeq2UnicodeTextPlugin implements PluginBo { |
30 |
|
|
31 |
|
|
32 |
|
public static final Class CLASS = Qedeq2UnicodeTextPlugin.class; |
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
37 |
471
|
public Qedeq2UnicodeTextPlugin() {... |
38 |
|
|
39 |
|
} |
40 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
41 |
3297
|
public String getServiceId() {... |
42 |
3297
|
return CLASS.getName(); |
43 |
|
} |
44 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
45 |
0
|
public String getServiceAction() {... |
46 |
0
|
return "Show Module as UTF-8 text"; |
47 |
|
} |
48 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
49 |
0
|
public String getServiceDescription() {... |
50 |
0
|
return "shows QEDEQ module within window as UTF-8 text"; |
51 |
|
} |
52 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
53 |
0
|
public PluginExecutor createExecutor(final KernelQedeqBo qedeq, final Parameters parameters) {... |
54 |
0
|
return new Qedeq2UnicodeTextExecutor(this, qedeq, parameters); |
55 |
|
} |
56 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (4) |
Complexity: 1 |
Complexity Density: 0.25 |
|
57 |
471
|
public void setDefaultValuesForEmptyPluginParameters(final Parameters parameters) {... |
58 |
471
|
parameters.setDefault("language", "en"); |
59 |
471
|
parameters.setDefault("info", true); |
60 |
471
|
parameters.setDefault("brief", false); |
61 |
|
|
62 |
471
|
parameters.setDefault("maximumColumn", 80); |
63 |
|
} |
64 |
|
|
65 |
|
} |