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.
|
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, getTheme
protected 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
- SkinNotFoundException
public Skin getSkin(javax.faces.context.FacesContext context, String name)
getSkin
in class SkinFactory
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.