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_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.
|
String |
getImage(javax.faces.context.FacesContext facesContext,
String nameWithExtension,
boolean ignoreMissing)
Deprecated.
|
String |
getImage(javax.faces.context.FacesContext facesContext,
String name,
String extension,
boolean ignoreMissing) |
String |
getImage(javax.faces.component.UIViewRoot viewRoot,
String name)
Deprecated.
|
String |
getImage(javax.faces.component.UIViewRoot viewRoot,
String name,
boolean ignoreMissing)
Deprecated.
|
String |
getJsp(javax.faces.component.UIViewRoot viewRoot,
String name)
Deprecated.
|
String |
getProperty(javax.faces.context.FacesContext facesContext,
String bundle,
String propertyKey) |
String |
getProperty(javax.faces.component.UIViewRoot viewRoot,
String bundle,
String propertyKey)
Deprecated.
|
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.
|
String[] |
getScripts(javax.faces.context.FacesContext facesContext,
String name) |
String[] |
getScripts(javax.faces.component.UIViewRoot viewRoot,
String name)
Deprecated.
|
String[] |
getStyles(javax.faces.context.FacesContext facesContext,
String name) |
String[] |
getStyles(javax.faces.component.UIViewRoot viewRoot,
String name)
Deprecated.
|
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.
|
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 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 ResourceManager
public 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 ResourceManager
public 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 ResourceManager
public 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 ResourceManager
public 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 ResourceManager
public Measure getThemeMeasure(javax.faces.context.FacesContext facesContext, Configurable configurable, String name)
getThemeMeasure
in interface ResourceManager
public 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 ResourceManager
facesContext
- 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 ResourceManager
facesContext
- 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-2016 The Apache Software Foundation. All Rights Reserved.