public abstract class AbstractSkinFactory extends SkinFactory
| Constructor and Description |
|---|
AbstractSkinFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Skin |
buildSkin(javax.faces.context.FacesContext context,
String name)
Factory method for build skin from properties files. for given skin name, search in classpath all resources with name
'name'.skin.properties and append in content to default properties.
|
Skin |
getSkin(javax.faces.context.FacesContext context,
String name) |
protected Properties |
loadProperties(String name,
String[] paths) |
protected void |
processProperties(javax.faces.context.FacesContext context,
Map<Object,Object> properties) |
getBaseSkin, getDefaultSkin, getInstance, getInstance, getSkin, getThemeprotected void processProperties(javax.faces.context.FacesContext context,
Map<Object,Object> properties)
protected Skin buildSkin(javax.faces.context.FacesContext context, String name) throws SkinNotFoundException
ClassLoader realisation.name - name for builded skin.context - SkinNotFoundException - - if no skin properies found for name.protected Properties loadProperties(String name, String[] paths) throws SkinNotFoundException
name - paths - SkinNotFoundExceptionpublic Skin getSkin(javax.faces.context.FacesContext context, String name)
getSkin in class SkinFactoryCopyright © 2019 JBoss by Red Hat. All Rights Reserved.