Skip navigation links


org.apache.myfaces.trinidad.menu
Class MenuUtils

java.lang.Object
  extended by org.apache.myfaces.trinidad.menu.MenuUtils


public class MenuUtils
extends Object

Menu Utilities used by the Menu Model internal code. All classes are package private.


Method Summary
static
<T> T
getBoundValue(String elExpression, Class<T> desiredClass)
          Gets the bound value of an EL expression
static void loadBundle(String resBundleName, String resBundleKey)
          Create a ResourceBundle and put it in an EL-reachable scope.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getBoundValue

public static <T> T getBoundValue(String elExpression,
                                  Class<T> desiredClass)
Gets the bound value of an EL expression
Parameters:
elExpression - - String representing an EL expression

loadBundle

public static void loadBundle(String resBundleName,
                              String resBundleKey)
Create a ResourceBundle and put it in an EL-reachable scope.
Parameters:
resBundleName - - String containing name of class containing the resource bundle.
resBundleKey - - String key for the resource bundle

Skip navigation links


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.