1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.apache.myfaces.tobago.context;
21
22 import org.apache.myfaces.tobago.config.Configurable;
23 import org.apache.myfaces.tobago.layout.Measure;
24
25 import javax.faces.component.UIViewRoot;
26 import javax.faces.context.FacesContext;
27 import javax.faces.render.Renderer;
28
29 public interface ResourceManager {
30
31 @Deprecated
32 String getJsp(UIViewRoot viewRoot, String name);
33
34 @Deprecated
35 String getProperty(UIViewRoot viewRoot, String bundle, String propertyKey);
36
37 String getProperty(FacesContext facesContext, String bundle, String propertyKey);
38
39 @Deprecated
40 Renderer getRenderer(UIViewRoot viewRoot, String rendererType);
41
42 Renderer getRenderer(FacesContext facesContext, String rendererType);
43
44 @Deprecated
45 String[] getScripts(UIViewRoot viewRoot, String name);
46
47 String[] getScripts(FacesContext facesContext, String name);
48
49 @Deprecated
50 String[] getStyles(UIViewRoot viewRoot, String name);
51
52 String[] getStyles(FacesContext facesContext, String name);
53
54 @Deprecated
55 String getThemeProperty(UIViewRoot viewRoot, String bundle, String propertyKey);
56
57 Measure getThemeMeasure(FacesContext facesContext, Configurable configurable, String name);
58
59 Measure getThemeMeasure(FacesContext facesContext, String rendererType, Markup markup, String name);
60
61 @Deprecated
62 String getImage(UIViewRoot viewRoot, String name);
63
64 String getImage(FacesContext facesContext, String name);
65
66 @Deprecated
67 String getImage(UIViewRoot viewRoot, String name, boolean ignoreMissing);
68
69 String getImage(FacesContext facesContext, String name, boolean ignoreMissing);
70 }