org.apache.myfaces.trinidadinternal.skin
Class SkinUtils

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.skin.SkinUtils

public class SkinUtils
extends java.lang.Object

Utility functions for creating Skins from the trinidad-skins.xml file

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/skin/SkinUtils.java#0 $) $Date: 10-nov-2005.18:59:00 $
Author:
The Oracle ADF Faces Team

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 found in the trinidad-skins.xml file with the SkinFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

registerBaseSkins

public static void registerBaseSkins()
Register the base skins with the SkinFactory. (simple/minimal) Make sure the SkinFactory.getFactory() does not return null before calling this method.


registerSkinExtensions

public static void registerSkinExtensions(javax.faces.context.ExternalContext context)
Register any custom skin extensions found in the trinidad-skins.xml file with the SkinFactory. Make sure the SkinFactory.getFactory() does not return null before calling this method. You should call registerBaseSkins() before calling this method.

Parameters:
context - ServletContext, used to get the trinidad-skins.xml file.

createDefaultManager

public static ParserManager createDefaultManager()
Creates a ParserManager pre-registered witih all the default ParserFactories needed to create SkinExtensions.



Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.