| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | COMPOSITE_COMPONENT_EXPRESSION
Helps to determine if a EL expression represents a composite component EL expression. |
| private static final Matcher | |
| private static final Pattern | COMPOSITE_COMPONENT_LOOKUP_WITH_ARGS
Used to determine if EL method arguments are being passed to a composite component lookup expression. |
| private static final LRUCache | compositeComponentEvaluationCache
Private cache for storing evaluation results for composite components checks. |
| private static final int | compositeComponentEvaluationCacheMaxSize
The maximum size of the |
| private static final Cache. | isCompositeExpressionInit
Cache.Factory that initialize an element inside the LRUCache evaluating a Matcher against the input. |
| private static final Pattern | METHOD_EXPRESSION_LOOKUP
Use to determine if an expression being considered as a MethodExpression is a simple lookup (i.e. #{cc.attrs.myaction}). |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static void | addELResolvers(CompositeELResolver
the target, List<ELResolver> CompositeELResolver to which the ELResolvers will be added.a resolvers)List of ELResolvers
Add the |
| public static void | buildFacesResolver(FacesCompositeELResolver
a composite, ApplicationAssociate CompositeELResolverour ApplicationAssociate associate)
Create the |
| private static void | |
| public static Object | |
| public static ValueExpression | Returns: a newValueExpression instance based off the provided valueRefan EL expression expression)Create a |
| public static ValueExpression | |
| public static Object | |
| public static ExpressionFactory | |
| public static ExpressionFactory | |
| public static boolean | |
| public static boolean | |
| public static boolean |
| COMPOSITE_COMPONENT_EXPRESSION | back to summary |
|---|---|
| private static final Pattern COMPOSITE_COMPONENT_EXPRESSION Helps to determine if a EL expression represents a composite component EL expression. | |
| COMPOSITE_COMPONENT_EXPRESSION_MATCHER | back to summary |
|---|---|
| private static final Matcher COMPOSITE_COMPONENT_EXPRESSION_MATCHER | |
| COMPOSITE_COMPONENT_LOOKUP_WITH_ARGS | back to summary |
|---|---|
| private static final Pattern COMPOSITE_COMPONENT_LOOKUP_WITH_ARGS Used to determine if EL method arguments are being passed to a composite component lookup expression. For example: #{cc.attrs.label('foo')} is illegal, while: #{cc.attrs.bean.label('foo')} is legal. | |
| compositeComponentEvaluationCache | back to summary |
|---|---|
| private static final LRUCache<String, Boolean> compositeComponentEvaluationCache Private cache for storing evaluation results for composite components checks. | |
| compositeComponentEvaluationCacheMaxSize | back to summary |
|---|---|
| private static final int compositeComponentEvaluationCacheMaxSize The maximum size of the | |
| isCompositeExpressionInit | back to summary |
|---|---|
| private static final Cache. Cache.Factory that initialize an element inside the LRUCache evaluating a Matcher against the input. We should be able to share a Matcher because the Factory it's executed atomically and this Matcher is used only here | |
| METHOD_EXPRESSION_LOOKUP | back to summary |
|---|---|
| private static final Pattern METHOD_EXPRESSION_LOOKUP Use to determine if an expression being considered as a MethodExpression is a simple lookup (i.e. #{cc.attrs.myaction}). | |
| ELUtils | back to summary |
|---|---|
| private ELUtils() | |
| addCDIELResolver | back to summary |
|---|---|
| private static void addCDIELResolver(FacesCompositeELResolver composite) | |
| addELResolvers | back to summary |
|---|---|
| private static void addELResolvers(CompositeELResolver target, List<ELResolver> resolvers)
Add the
| |
| buildFacesResolver | back to summary |
|---|---|
| public static void buildFacesResolver(FacesCompositeELResolver composite, ApplicationAssociate associate)
Create the
| |
| checkNotNull | back to summary |
|---|---|
| private static void checkNotNull(FacesCompositeELResolver composite, ApplicationAssociate associate) | |
| coerce | back to summary |
|---|---|
| public static Object coerce(Object value, Class<?> toType) | |
| createValueExpression | back to summary |
|---|---|
| public static ValueExpression createValueExpression(String expression) Create a
| |
| createValueExpression | back to summary |
|---|---|
| public static ValueExpression createValueExpression(String expression, Class<?> expectedType) | |
| evaluateValueExpression | back to summary |
|---|---|
| public static Object evaluateValueExpression(ValueExpression expression, ELContext elContext) | |
| getDefaultExpressionFactory | back to summary |
|---|---|
| public static ExpressionFactory getDefaultExpressionFactory(FacesContext facesContext) | |
| getDefaultExpressionFactory | back to summary |
|---|---|
| public static ExpressionFactory getDefaultExpressionFactory(ApplicationAssociate associate, FacesContext facesContext) | |
| isCompositeComponentExpr | back to summary |
|---|---|
| public static boolean isCompositeComponentExpr(String expression) | |
| isCompositeComponentLookupWithArgs | back to summary |
|---|---|
| public static boolean isCompositeComponentLookupWithArgs(String expression) | |
| isCompositeComponentMethodExprLookup | back to summary |
|---|---|
| public static boolean isCompositeComponentMethodExprLookup(String expression) | |