java.lang.Object
com.sun.faces.el.ELUtils
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArrayELResolverstatic final BeanELResolverstatic final ResourceBundleELResolverstatic final CompositeComponentAttributesELResolverstatic final EmptyStringToNullELResolverstatic final FacesResourceBundleELResolverstatic final FlashELResolverstatic final ListELResolverstatic final MapELResolverstatic final ResourceELResolverstatic final ScopedAttributeELResolver -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbuildFacesResolver(FacesCompositeELResolver composite, ApplicationAssociate associate) Create theELResolverchain for programmatic EL calls.static Objectstatic ValueExpressioncreateValueExpression(String expression) Create aValueExpressionwith the expected type ofObject.classstatic ValueExpressioncreateValueExpression(String expression, Class<?> expectedType) static ObjectevaluateValueExpression(ValueExpression expression, ELContext elContext) static ExpressionFactorygetDefaultExpressionFactory(ApplicationAssociate associate, FacesContext facesContext) static ExpressionFactorygetDefaultExpressionFactory(FacesContext facesContext) static booleanisCompositeComponentExpr(String expression) static booleanisCompositeComponentLookupWithArgs(String expression) static booleanisCompositeComponentMethodExprLookup(String expression)
-
Field Details
-
ARRAY_RESOLVER
-
BEAN_RESOLVER
-
FACES_BUNDLE_RESOLVER
-
FLASH_RESOLVER
-
LIST_RESOLVER
-
MAP_RESOLVER
-
BUNDLE_RESOLVER
-
SCOPED_RESOLVER
-
RESOURCE_RESOLVER
-
COMPOSITE_COMPONENT_ATTRIBUTES_EL_RESOLVER
public static final CompositeComponentAttributesELResolver COMPOSITE_COMPONENT_ATTRIBUTES_EL_RESOLVER -
EMPTY_STRING_TO_NULL_RESOLVER
-
-
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
-
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 ExpressionFactory getDefaultExpressionFactory(ApplicationAssociate associate, FacesContext facesContext)
-