org.apache.myfaces.trinidadinternal.skin
Class SkinNotAvailable

java.lang.Object
  extended by org.apache.myfaces.trinidad.skin.Skin
      extended by org.apache.myfaces.trinidadinternal.skin.SkinImpl
          extended by org.apache.myfaces.trinidadinternal.skin.SkinNotAvailable

public class SkinNotAvailable
extends SkinImpl

A Skin class used when no skin is available, to avoid null pointer exceptions, etc. (make this a singleton)

Author:
The Oracle ADF Faces Team

Method Summary
protected  java.lang.String getBundleName()
          Returns the name of the ResourceBundle for the Skin.
static SkinNotAvailable getSkinNotAvailable()
          returns the singleton instance of this class.
 java.lang.String getStyleSheetName()
          Returns the name of the XSS style sheet for this Skin.
 java.lang.Object getTranslatedValue(org.apache.myfaces.trinidad.context.LocaleContext lContext, java.lang.String namespace, java.lang.String key)
           
 
Methods inherited from class org.apache.myfaces.trinidadinternal.skin.SkinImpl
getFamily, getIcon, getIcon, getId, getProperty, getRenderKitId, getStyleClassMap, getStyleSheetDocument, getTranslatedString, getTranslatedValue, registerIcon, registerStyleSheet, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSkinNotAvailable

public static SkinNotAvailable getSkinNotAvailable()
returns the singleton instance of this class.


getStyleSheetName

public java.lang.String getStyleSheetName()
Description copied from class: SkinImpl
Returns the name of the XSS style sheet for this Skin.

Specified by:
getStyleSheetName in class SkinImpl

getTranslatedValue

public java.lang.Object getTranslatedValue(org.apache.myfaces.trinidad.context.LocaleContext lContext,
                                           java.lang.String namespace,
                                           java.lang.String key)

getBundleName

protected java.lang.String getBundleName()
Description copied from class: SkinImpl
Returns the name of the ResourceBundle for the Skin.

Specified by:
getBundleName in class SkinImpl


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