public class ResourceManagerImpl extends Object implements ResourceManager
| Modifier and Type | Field and Description |
|---|---|
static String[] |
EXT_CSS |
static String[] |
EXT_GIF |
static String[] |
EXT_ICO |
static String[] |
EXT_IMAGES |
static String[] |
EXT_JPG |
static String[] |
EXT_JS |
static String[] |
EXT_JSP |
static String[] |
EXT_JSPX |
static String[] |
EXT_NONE |
static String[] |
EXT_PNG |
static String[] |
EXT_SVG |
static String[] |
EXT_XHTML |
| Constructor and Description |
|---|
ResourceManagerImpl(TobagoConfigImpl tobagoConfig) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String resourceKey) |
void |
add(String resourceKey,
String value) |
String |
getImage(javax.faces.context.FacesContext facesContext,
String name)
Deprecated.
by API
|
String |
getImage(javax.faces.context.FacesContext facesContext,
String nameWithExtension,
boolean ignoreMissing)
Deprecated.
by API
|
String |
getImage(javax.faces.context.FacesContext facesContext,
String name,
String extension,
boolean ignoreMissing) |
String |
getImage(javax.faces.component.UIViewRoot viewRoot,
String name)
Deprecated.
by API
|
String |
getImage(javax.faces.component.UIViewRoot viewRoot,
String name,
boolean ignoreMissing)
Deprecated.
by API
|
String |
getJsp(javax.faces.component.UIViewRoot viewRoot,
String name)
Deprecated.
by API
|
String |
getProperty(javax.faces.context.FacesContext facesContext,
String bundle,
String propertyKey) |
String |
getProperty(javax.faces.component.UIViewRoot viewRoot,
String bundle,
String propertyKey)
Deprecated.
by API
|
javax.faces.render.Renderer |
getRenderer(javax.faces.context.FacesContext facesContext,
String rendererType) |
javax.faces.render.Renderer |
getRenderer(javax.faces.component.UIViewRoot viewRoot,
String rendererType)
Deprecated.
by API
|
String[] |
getScripts(javax.faces.context.FacesContext facesContext,
String name) |
String[] |
getScripts(javax.faces.component.UIViewRoot viewRoot,
String name)
Deprecated.
by API
|
String[] |
getStyles(javax.faces.context.FacesContext facesContext,
String name) |
String[] |
getStyles(javax.faces.component.UIViewRoot viewRoot,
String name)
Deprecated.
by API
|
Measure |
getThemeMeasure(javax.faces.context.FacesContext facesContext,
Configurable configurable,
String name) |
Measure |
getThemeMeasure(javax.faces.context.FacesContext facesContext,
String rendererType,
Markup markup,
String name) |
String |
getThemeProperty(javax.faces.component.UIViewRoot viewRoot,
String bundle,
String propertyKey)
Deprecated.
by API
|
String |
toString() |
public static final String[] EXT_NONE
public static final String[] EXT_JS
public static final String[] EXT_CSS
public static final String[] EXT_GIF
public static final String[] EXT_PNG
public static final String[] EXT_JPG
public static final String[] EXT_ICO
public static final String[] EXT_IMAGES
public static final String[] EXT_JSP
public static final String[] EXT_JSPX
public static final String[] EXT_XHTML
public static final String[] EXT_SVG
public ResourceManagerImpl(TobagoConfigImpl tobagoConfig)
public void add(String resourceKey)
@Deprecated public String getJsp(javax.faces.component.UIViewRoot viewRoot, String name)
getJsp in interface ResourceManager@Deprecated public String getProperty(javax.faces.component.UIViewRoot viewRoot, String bundle, String propertyKey)
getProperty in interface ResourceManagerpublic String getProperty(javax.faces.context.FacesContext facesContext, String bundle, String propertyKey)
getProperty in interface ResourceManager@Deprecated public javax.faces.render.Renderer getRenderer(javax.faces.component.UIViewRoot viewRoot, String rendererType)
getRenderer in interface ResourceManagerpublic javax.faces.render.Renderer getRenderer(javax.faces.context.FacesContext facesContext,
String rendererType)
getRenderer in interface ResourceManager@Deprecated public String[] getScripts(javax.faces.component.UIViewRoot viewRoot, String name)
getScripts in interface ResourceManagerpublic String[] getScripts(javax.faces.context.FacesContext facesContext, String name)
getScripts in interface ResourceManager@Deprecated public String[] getStyles(javax.faces.component.UIViewRoot viewRoot, String name)
getStyles in interface ResourceManagerpublic String[] getStyles(javax.faces.context.FacesContext facesContext, String name)
getStyles in interface ResourceManager@Deprecated public String getThemeProperty(javax.faces.component.UIViewRoot viewRoot, String bundle, String propertyKey)
getThemeProperty in interface ResourceManagerpublic Measure getThemeMeasure(javax.faces.context.FacesContext facesContext, Configurable configurable, String name)
getThemeMeasure in interface ResourceManagerpublic Measure getThemeMeasure(javax.faces.context.FacesContext facesContext, String rendererType, Markup markup, String name)
getThemeMeasure in interface ResourceManager@Deprecated public String getImage(javax.faces.component.UIViewRoot viewRoot, String name)
getImage in interface ResourceManager@Deprecated public String getImage(javax.faces.context.FacesContext facesContext, String name)
getImage in interface ResourceManager@Deprecated public String getImage(javax.faces.component.UIViewRoot viewRoot, String name, boolean ignoreMissing)
getImage in interface ResourceManager@Deprecated public String getImage(javax.faces.context.FacesContext facesContext, String nameWithExtension, boolean ignoreMissing)
getImage in interface ResourceManagerfacesContext - the current FacesContextnameWithExtension - The name with extensionignoreMissing - if set to false, an error message will be logged, when image is missingpublic String getImage(javax.faces.context.FacesContext facesContext, String name, String extension, boolean ignoreMissing)
getImage in interface ResourceManagerfacesContext - the current FacesContextname - The name without extensionextension - The file extension inclusive dot, like ".png"ignoreMissing - if set to false, an error message will be logged, when image is missingCopyright © 2002–2022 The Apache Software Foundation. All rights reserved.