1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package javax.faces.view;
20
21 import java.beans.BeanInfo;
22 import java.io.IOException;
23 import java.util.List;
24 import java.util.Map;
25 import javax.faces.FacesWrapper;
26 import javax.faces.application.Resource;
27 import javax.faces.component.UIComponent;
28 import javax.faces.component.UIViewRoot;
29 import javax.faces.context.FacesContext;
30
31
32
33
34 public abstract class ViewDeclarationLanguageWrapper extends ViewDeclarationLanguage
35 implements FacesWrapper<ViewDeclarationLanguage>
36 {
37
38 public void buildView(FacesContext context, UIViewRoot view) throws IOException
39 {
40 getWrapped().buildView(context, view);
41 }
42
43 public UIViewRoot createView(FacesContext context, String viewId)
44 {
45 return getWrapped().createView(context, viewId);
46 }
47
48 public BeanInfo getComponentMetadata(FacesContext context, Resource componentResource)
49 {
50 return getWrapped().getComponentMetadata(context, componentResource);
51 }
52
53 public Resource getScriptComponentResource(FacesContext context, Resource componentResource)
54 {
55 return getWrapped().getScriptComponentResource(context, componentResource);
56 }
57
58 public StateManagementStrategy getStateManagementStrategy(FacesContext context, String viewId)
59 {
60 return getWrapped().getStateManagementStrategy(context, viewId);
61 }
62
63 public ViewMetadata getViewMetadata(FacesContext context, String viewId)
64 {
65 return getWrapped().getViewMetadata(context, viewId);
66 }
67
68 public void renderView(FacesContext context, UIViewRoot view) throws IOException
69 {
70 getWrapped().renderView(context, view);
71 }
72
73 public UIViewRoot restoreView(FacesContext context, String viewId)
74 {
75 return getWrapped().restoreView(context, viewId);
76 }
77
78 public void retargetAttachedObjects(FacesContext context, UIComponent topLevelComponent,
79 List<AttachedObjectHandler> handlers)
80 {
81 getWrapped().retargetAttachedObjects(context, topLevelComponent, handlers);
82 }
83
84 public void retargetMethodExpressions(FacesContext context, UIComponent topLevelComponent)
85 {
86 getWrapped().retargetMethodExpressions(context, topLevelComponent);
87 }
88
89 public String getId()
90 {
91 return getWrapped().getId();
92 }
93
94 public boolean viewExists(FacesContext facesContext, String viewId)
95 {
96 return getWrapped().viewExists(facesContext, viewId);
97 }
98
99 public UIComponent createComponent(FacesContext context, String taglibURI, String tagName,
100 Map<String, Object> attributes)
101 {
102 return getWrapped().createComponent(context, taglibURI, tagName, attributes);
103 }
104
105 public List<String> calculateResourceLibraryContracts(FacesContext context, String viewId)
106 {
107 return getWrapped().calculateResourceLibraryContracts(context, viewId);
108 }
109
110 public abstract ViewDeclarationLanguage getWrapped();
111 }