1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
|
18 | |
|
19 | |
package javax.faces.render; |
20 | |
|
21 | |
import javax.faces.FacesWrapper; |
22 | |
import javax.faces.context.ResponseStream; |
23 | |
import javax.faces.context.ResponseWriter; |
24 | |
import java.io.OutputStream; |
25 | |
import java.io.Writer; |
26 | |
import java.util.Iterator; |
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
|
40 | |
|
41 | 0 | public abstract class RenderKitWrapper extends RenderKit implements FacesWrapper<RenderKit> |
42 | |
{ |
43 | |
@Override |
44 | |
public void addClientBehaviorRenderer(String type, ClientBehaviorRenderer renderer) |
45 | |
{ |
46 | 0 | getWrapped().addClientBehaviorRenderer(type,renderer); |
47 | 0 | } |
48 | |
|
49 | |
|
50 | |
@Override |
51 | |
public void addRenderer(String family, String rendererType, Renderer renderer) |
52 | |
{ |
53 | 0 | getWrapped().addRenderer(family, rendererType, renderer); |
54 | 0 | } |
55 | |
|
56 | |
|
57 | |
@Override |
58 | |
public ResponseStream createResponseStream(OutputStream out) |
59 | |
{ |
60 | 0 | return getWrapped().createResponseStream(out); |
61 | |
} |
62 | |
|
63 | |
|
64 | |
@Override |
65 | |
public ResponseWriter createResponseWriter(Writer writer, String contentTypeList, String characterEncoding) |
66 | |
{ |
67 | 0 | return getWrapped().createResponseWriter(writer, contentTypeList, characterEncoding); |
68 | |
} |
69 | |
|
70 | |
@Override |
71 | |
public ClientBehaviorRenderer getClientBehaviorRenderer(String type) |
72 | |
{ |
73 | 0 | return getWrapped().getClientBehaviorRenderer(type); |
74 | |
} |
75 | |
|
76 | |
@Override |
77 | |
public Iterator<String> getClientBehaviorRendererTypes() |
78 | |
{ |
79 | 0 | return getWrapped().getClientBehaviorRendererTypes(); |
80 | |
} |
81 | |
|
82 | |
|
83 | |
@Override |
84 | |
public Renderer getRenderer(String family, String rendererType) |
85 | |
{ |
86 | 0 | return getWrapped().getRenderer(family, rendererType); |
87 | |
} |
88 | |
|
89 | |
|
90 | |
@Override |
91 | |
public ResponseStateManager getResponseStateManager() |
92 | |
{ |
93 | 0 | return getWrapped().getResponseStateManager(); |
94 | |
} |
95 | |
|
96 | |
|
97 | |
public abstract RenderKit getWrapped(); |
98 | |
|
99 | |
|
100 | |
@Override |
101 | |
public Iterator<String> getComponentFamilies() |
102 | |
{ |
103 | 0 | return getWrapped().getComponentFamilies(); |
104 | |
} |
105 | |
|
106 | |
|
107 | |
@Override |
108 | |
public Iterator<String> getRendererTypes(String componentFamily) |
109 | |
{ |
110 | 0 | return getWrapped().getRendererTypes(componentFamily); |
111 | |
} |
112 | |
} |