1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
package com.xpn.xwiki.internal.render; |
21 |
|
|
22 |
|
import java.lang.reflect.ParameterizedType; |
23 |
|
import java.util.Set; |
24 |
|
|
25 |
|
import javax.inject.Provider; |
26 |
|
|
27 |
|
import org.xwiki.component.annotation.Role; |
28 |
|
import org.xwiki.component.util.DefaultParameterizedType; |
29 |
|
import org.xwiki.model.reference.DocumentReference; |
30 |
|
|
31 |
|
import com.xpn.xwiki.XWikiContext; |
32 |
|
import com.xpn.xwiki.XWikiException; |
33 |
|
import com.xpn.xwiki.doc.XWikiDocument; |
34 |
|
import com.xpn.xwiki.doc.XWikiLink; |
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
@version |
41 |
|
@since |
42 |
|
@deprecated |
43 |
|
|
44 |
|
@Role |
45 |
|
@Deprecated |
|
|
| - |
Uncovered Elements: 0 (0) |
Complexity: 0 |
Complexity Density: - |
|
46 |
|
public interface OldRendering |
47 |
|
{ |
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
ParameterizedType TYPE_PROVIDER = new DefaultParameterizedType(null, Provider.class, OldRendering.class); |
52 |
|
|
53 |
|
void flushCache(); |
54 |
|
|
55 |
|
void renameLinks(XWikiDocument backlinkDocument, DocumentReference oldReference, DocumentReference newReference, |
56 |
|
XWikiContext context) throws XWikiException; |
57 |
|
|
58 |
|
void resetRenderingEngine(XWikiContext context) throws XWikiException; |
59 |
|
|
60 |
|
String renderText(String text, XWikiDocument doc, XWikiContext xcontext); |
61 |
|
|
62 |
|
String renderTemplate(String template, String skin, XWikiContext xcontext); |
63 |
|
|
64 |
|
String renderTemplate(String template, XWikiContext xcontext); |
65 |
|
|
66 |
|
String parseContent(String content, XWikiContext xcontext); |
67 |
|
|
68 |
|
Set<XWikiLink> extractLinks(XWikiDocument doc, XWikiContext context) throws XWikiException; |
69 |
|
} |