|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.trinidadinternal.skin.SkinUtils
public class SkinUtils
Utility functions for creating Skin objects and SkinExtension objects from the trinidad-skins.xml file and adding them to the SkinFactory. It also adds SkinAdditions to the Skin objects.
| Method Summary | |
|---|---|
static ParserManager |
createDefaultManager()
Creates a ParserManager pre-registered witih all the default ParserFactories needed to create SkinExtensions. |
static void |
registerBaseSkins()
Register the base skins with the SkinFactory. |
static void |
registerSkinExtensions(javax.faces.context.ExternalContext context)
Register any custom skin extensions (and skin-additions) found in the trinidad-skins.xml file with the SkinFactory. |
static org.apache.myfaces.trinidad.skin.Icon |
resolveReferenceIcon(org.apache.myfaces.trinidad.skin.Skin skin,
ReferenceIcon refIcon)
Returns the actual Icon referenced by the ReferenceIcon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerBaseSkins()
public static void registerSkinExtensions(javax.faces.context.ExternalContext context)
context - ServletContext, used to get the trinidad-skins.xml file.
public static org.apache.myfaces.trinidad.skin.Icon resolveReferenceIcon(org.apache.myfaces.trinidad.skin.Skin skin,
ReferenceIcon refIcon)
skin - the Skin to use when resolving the ReferenceIconrefIcon - a ReferenceIcon instance
public static ParserManager createDefaultManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||