1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package org.xwiki.filter.xml.input; |
21 |
|
|
22 |
|
import java.io.IOException; |
23 |
|
|
24 |
|
import javax.xml.transform.Source; |
25 |
|
|
26 |
|
|
27 |
|
@link |
28 |
|
|
29 |
|
@version |
30 |
|
@since |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 7 (7) |
Complexity: 4 |
Complexity Density: 1.33 |
|
32 |
|
public class DefaultSourceInputSource implements SourceInputSource |
33 |
|
{ |
34 |
|
|
35 |
|
@see |
36 |
|
|
37 |
|
private Source source; |
38 |
|
|
39 |
|
|
40 |
|
@param@link |
41 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
42 |
0 |
public DefaultSourceInputSource(Source source)... |
43 |
|
{ |
44 |
0 |
this.source = source; |
45 |
|
} |
46 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
47 |
0 |
@Override... |
48 |
|
public boolean restartSupported() |
49 |
|
{ |
50 |
0 |
return false; |
51 |
|
} |
52 |
|
|
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 1 |
Complexity Density: - |
|
53 |
0 |
@Override... |
54 |
|
public void close() throws IOException |
55 |
|
{ |
56 |
|
|
57 |
|
} |
58 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
59 |
0 |
@Override... |
60 |
|
public Source getSource() |
61 |
|
{ |
62 |
0 |
return this.source; |
63 |
|
} |
64 |
|
} |