JSF-Spring

de.mindmatters.faces.el
Class ELUtils

java.lang.Object
  extended by de.mindmatters.faces.el.ELUtils

public final class ELUtils
extends java.lang.Object

Utility class for interpreting and evaluating parsed JSF reference expressions.

Author:
Andreas Kuhrwahl
See Also:
ELParser

Method Summary
static java.lang.String resolveToBase(FacesContext context, java.lang.String expressionString)
          Returns the name of the base of the given JSF reference expression string expressionString if any.
static java.lang.String resolveToBase(FacesContext context, ValueBinding valueBinding)
          Returns the name of the base of the given ValueBinding valueBinding if any.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

resolveToBase

public static java.lang.String resolveToBase(FacesContext context,
                                             java.lang.String expressionString)
Returns the name of the base of the given JSF reference expression string expressionString if any.

Parameters:
context - FacesContext for the current request
expressionString - The reference expression
Returns:
The name of the base of the given expression or null if not present

resolveToBase

public static java.lang.String resolveToBase(FacesContext context,
                                             ValueBinding valueBinding)
Returns the name of the base of the given ValueBinding valueBinding if any.

Parameters:
context - FacesContext for the current request
valueBinding - The ValueBinding
Returns:
The name of the base of the given ValueBinding or null if not present

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG