1 |
|
package org.europa.together.business; |
2 |
|
|
3 |
|
import java.util.Map; |
4 |
|
import org.apiguardian.api.API; |
5 |
|
import static org.apiguardian.api.API.Status.STABLE; |
6 |
|
import org.springframework.stereotype.Component; |
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
@author |
12 |
|
@version |
13 |
|
@since |
14 |
|
|
15 |
|
@API(status = STABLE, since = "1.0", consumers = "VelocityRenderer") |
16 |
|
@Component |
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
17 |
|
public interface TemplateRenderer { |
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
@API(status = STABLE, since = "1.2") |
23 |
|
String FEATURE_ID = "CM-03"; |
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
@param |
30 |
|
@param |
31 |
|
@param |
32 |
|
@return |
33 |
|
|
34 |
|
@API(status = STABLE, since = "1.0") |
35 |
|
String loadContentByClasspathResource(String resourcePath, String template, |
36 |
|
Map<String, String> properties); |
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
@param |
43 |
|
@param |
44 |
|
@param |
45 |
|
@return |
46 |
|
|
47 |
|
@API(status = STABLE, since = "1.0") |
48 |
|
String loadContentByFileResource(String resourcePath, String template, |
49 |
|
Map<String, String> properties); |
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
@param |
56 |
|
@param |
57 |
|
@return |
58 |
|
|
59 |
|
@API(status = STABLE, since = "1.0") |
60 |
|
String loadContentByStringResource(String resource, Map<String, String> properties); |
61 |
|
} |