public final class ComponentTagUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isMethodReference(String value)
Deprecated.
since 5.5: method and value references are now equivalent
with jboss EL
|
static boolean |
isValueReference(String value)
Returns true if the specified value conforms to the syntax requirements
of a value binding expression.
|
static Object |
resolveElExpression(com.sun.facelets.FaceletContext faceletContext,
String elExpression)
Resolves an expression from a given facelet context, using its
ExpressionFactory that can hold a wider context than the faces
context behind it. |
static Object |
resolveElExpression(FacesContext context,
String elExpression)
Resolves an expression from a given faces context.
|
public static boolean isValueReference(String value)
value
- the value to evaluate (not null)@Deprecated public static boolean isMethodReference(String value)
The method can have parameters and the expression must use parentheses even if no parameters are needed.
value
- the value to evaluate (not null)public static Object resolveElExpression(FacesContext context, String elExpression)
Resolves the expression a second time when first resolution gives a String value using the EL Expression syntax.
Does not throw any error when resolution fails (only logs an error message).
public static Object resolveElExpression(com.sun.facelets.FaceletContext faceletContext, String elExpression)
ExpressionFactory
that can hold a wider context than the faces
context behind it.
Resolves the expression a second time when first resolution gives a String value using the EL Expression syntax.
Does not throw any error when resolution fails (only logs an error message).
Copyright © 2011 Nuxeo SA. All Rights Reserved.