1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package com.xpn.xwiki.plugin.graphviz; |
21 |
|
|
22 |
|
import java.io.IOException; |
23 |
|
|
24 |
|
import com.xpn.xwiki.XWikiContext; |
25 |
|
import com.xpn.xwiki.plugin.PluginApi; |
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
@deprecated |
36 |
|
@version |
37 |
|
|
38 |
|
@Deprecated |
|
|
| 0% |
Uncovered Elements: 20 (20) |
Complexity: 10 |
Complexity Density: 1 |
|
39 |
|
public class GraphVizPluginApi extends PluginApi<GraphVizPlugin> |
40 |
|
{ |
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
@param |
45 |
|
@param |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0 |
public GraphVizPluginApi(GraphVizPlugin plugin, XWikiContext context)... |
48 |
|
{ |
49 |
0 |
super(plugin, context); |
50 |
|
} |
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
@return |
56 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
57 |
0 |
public GraphVizPlugin getPlugin()... |
58 |
|
{ |
59 |
0 |
return getInternalPlugin(); |
60 |
|
} |
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
@param |
66 |
|
@param |
67 |
|
@return |
68 |
|
@throws |
69 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
70 |
0 |
public byte[] getDotImage(String content, boolean dot) throws IOException... |
71 |
|
{ |
72 |
0 |
return getProtectedPlugin().getDotImage(content, dot); |
73 |
|
} |
74 |
|
|
75 |
|
|
76 |
|
|
77 |
|
|
78 |
|
@param |
79 |
|
@param |
80 |
|
@param |
81 |
|
@return |
82 |
|
@throws |
83 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
84 |
0 |
public byte[] getDotImage(String content, String extension, boolean dot) throws IOException... |
85 |
|
{ |
86 |
0 |
return getProtectedPlugin().getDotImage(content, extension, dot); |
87 |
|
} |
88 |
|
|
89 |
|
|
90 |
|
|
91 |
|
|
92 |
|
@param |
93 |
|
@param |
94 |
|
@return |
95 |
|
@throws |
96 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
97 |
0 |
public String getDotImageURL(String content, boolean dot) throws IOException... |
98 |
|
{ |
99 |
0 |
return getProtectedPlugin().getDotImageURL(content, dot, getXWikiContext()); |
100 |
|
} |
101 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
105 |
|
@param |
106 |
|
@param |
107 |
|
@return |
108 |
|
@throws |
109 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
110 |
0 |
public String writeDotImage(String content, boolean dot) throws IOException... |
111 |
|
{ |
112 |
0 |
return getProtectedPlugin().writeDotImage(content, dot); |
113 |
|
} |
114 |
|
|
115 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
@param |
120 |
|
@param |
121 |
|
@param |
122 |
|
@return |
123 |
|
@throws |
124 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
125 |
0 |
public String writeDotImage(String content, String extension, boolean dot) throws IOException... |
126 |
|
{ |
127 |
0 |
return getProtectedPlugin().writeDotImage(content, extension, dot); |
128 |
|
} |
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
@param |
134 |
|
@param |
135 |
|
@throws |
136 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
137 |
0 |
public void outputDotImage(String content, boolean dot) throws IOException... |
138 |
|
{ |
139 |
0 |
getProtectedPlugin().outputDotImage(content, "png", dot, getXWikiContext()); |
140 |
|
} |
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
@param |
146 |
|
@param |
147 |
|
@param |
148 |
|
@throws |
149 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
150 |
0 |
public void outputDotImage(String content, String extension, boolean dot) throws IOException... |
151 |
|
{ |
152 |
0 |
getProtectedPlugin().outputDotImage(content, extension, dot, getXWikiContext()); |
153 |
|
} |
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
158 |
0 |
public void flushCache()... |
159 |
|
{ |
160 |
0 |
getProtectedPlugin().flushCache(); |
161 |
|
} |
162 |
|
} |