java.lang.Object
com.sun.faces.el.ELUtils
Utility class for EL related methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildFacesResolver(FacesCompositeELResolver composite, ApplicationAssociate associate) Create theELResolverchain for programmatic EL calls.static Objectstatic jakarta.el.ValueExpressioncreateValueExpression(String expression) Create aValueExpressionwith the expected type ofObject.classstatic jakarta.el.ValueExpressioncreateValueExpression(String expression, Class<?> expectedType) static ObjectevaluateValueExpression(jakarta.el.ValueExpression expression, jakarta.el.ELContext elContext) static jakarta.el.ExpressionFactorygetDefaultExpressionFactory(ApplicationAssociate associate, FacesContext facesContext) static jakarta.el.ExpressionFactorygetDefaultExpressionFactory(FacesContext facesContext) static booleanisCompositeComponentExpr(String expression) static booleanisCompositeComponentLookupWithArgs(String expression) static booleanisCompositeComponentMethodExprLookup(String expression)
-
Method Details
-
isCompositeComponentExpr
-
isCompositeComponentMethodExprLookup
-
isCompositeComponentLookupWithArgs
-
buildFacesResolver
public static void buildFacesResolver(FacesCompositeELResolver composite, ApplicationAssociate associate) Create the
ELResolverchain for programmatic EL calls.- Parameters:
composite- aCompositeELResolverassociate- our ApplicationAssociate
-
evaluateValueExpression
public static Object evaluateValueExpression(jakarta.el.ValueExpression expression, jakarta.el.ELContext elContext) -
createValueExpression
Create aValueExpressionwith the expected type ofObject.class- Parameters:
expression- an EL expression- Returns:
- a new
ValueExpressioninstance based off the providedvalueRef
-
createValueExpression
-
coerce
-
getDefaultExpressionFactory
-
getDefaultExpressionFactory
public static jakarta.el.ExpressionFactory getDefaultExpressionFactory(ApplicationAssociate associate, FacesContext facesContext)
-