java.lang.Object
com.sun.faces.el.ELUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ArrayELResolver
static final BeanELResolver
static final ResourceBundleELResolver
static final CompositeComponentAttributesELResolver
static final EmptyStringToNullELResolver
static final FacesResourceBundleELResolver
static final FlashELResolver
static final ListELResolver
static final MapELResolver
static final ResourceELResolver
static final ScopedAttributeELResolver
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
buildFacesResolver
(FacesCompositeELResolver composite, ApplicationAssociate associate) Create theELResolver
chain for programmatic EL calls.static Object
static ValueExpression
createValueExpression
(String expression) Create aValueExpression
with the expected type ofObject.class
static ValueExpression
createValueExpression
(String expression, Class<?> expectedType) static Object
evaluateValueExpression
(ValueExpression expression, ELContext elContext) static ExpressionFactory
getDefaultExpressionFactory
(ApplicationAssociate associate, FacesContext facesContext) static ExpressionFactory
getDefaultExpressionFactory
(FacesContext facesContext) static boolean
isCompositeComponentExpr
(String expression) static boolean
isCompositeComponentLookupWithArgs
(String expression) static boolean
isCompositeComponentMethodExprLookup
(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
ELResolver
chain for programmatic EL calls.- Parameters:
composite
- aCompositeELResolver
associate
- our ApplicationAssociate
-
evaluateValueExpression
-
createValueExpression
Create aValueExpression
with the expected type ofObject.class
- Parameters:
expression
- an EL expression- Returns:
- a new
ValueExpression
instance based off the providedvalueRef
-
createValueExpression
-
coerce
-
getDefaultExpressionFactory
-
getDefaultExpressionFactory
public static ExpressionFactory getDefaultExpressionFactory(ApplicationAssociate associate, FacesContext facesContext)
-