public class CompositeSearchKeywordResolver
extends jakarta.faces.component.search.SearchKeywordResolver
| Constructor and Description |
|---|
CompositeSearchKeywordResolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(jakarta.faces.component.search.SearchKeywordResolver searchKeywordResolver) |
boolean |
isLeaf(jakarta.faces.component.search.SearchExpressionContext searchExpressionContext,
String keyword)
A leaf keyword is a keyword that does not allow to be combined with keywords or id chains to the right. |
boolean |
isPassthrough(jakarta.faces.component.search.SearchExpressionContext searchExpressionContext,
String keyword)
A passthrough keyword is a keyword, that according to the context, does not require to be resolved on the server, and can be passed "unresolved" to the client. |
boolean |
isResolverForKeyword(jakarta.faces.component.search.SearchExpressionContext searchExpressionContext,
String keyword)
Checks if the current instance of the |
void |
resolve(jakarta.faces.component.search.SearchKeywordContext context,
jakarta.faces.component.UIComponent current,
String keyword)
Try to resolve one or multiple |
public void add(jakarta.faces.component.search.SearchKeywordResolver searchKeywordResolver)
public void resolve(jakarta.faces.component.search.SearchKeywordContext context,
jakarta.faces.component.UIComponent current,
String keyword)
jakarta.faces.component.search.SearchKeywordResolver
Try to resolve one or multiple UIComponents based on the keyword and calls
SearchKeywordContext.invokeContextCallback(jakarta.faces.component.UIComponent) for each resolved component.
resolve in class jakarta.faces.component.search.SearchKeywordResolvercontext - the SearchKeywordContextcurrent - the previous resolved component or the source component (if called for the first keyword in the chain)keyword - the keywordpublic boolean isResolverForKeyword(jakarta.faces.component.search.SearchExpressionContext searchExpressionContext,
String keyword)
jakarta.faces.component.search.SearchKeywordResolver
Checks if the current instance of the SearchKeywordResolver is responsible for resolving the keyword.
isResolverForKeyword in class jakarta.faces.component.search.SearchKeywordResolversearchExpressionContext - the SearchExpressionContextkeyword - the keywordtrue if it's responsible for resolving this keywordpublic boolean isPassthrough(jakarta.faces.component.search.SearchExpressionContext searchExpressionContext,
String keyword)
jakarta.faces.component.search.SearchKeywordResolverA passthrough keyword is a keyword, that according to the context, does not require to be resolved on the server, and can be passed "unresolved" to the client.
isPassthrough in class jakarta.faces.component.search.SearchKeywordResolversearchExpressionContext - the SearchExpressionContextkeyword - the keywordtrue if it's passthrough keyword.public boolean isLeaf(jakarta.faces.component.search.SearchExpressionContext searchExpressionContext,
String keyword)
jakarta.faces.component.search.SearchKeywordResolverA leaf keyword is a keyword that does not allow to be combined with keywords or id chains to the right. For example: @none:@parent.
isLeaf in class jakarta.faces.component.search.SearchKeywordResolversearchExpressionContext - the SearchExpressionContextkeyword - the keywordtrue if it's leaf keyword.Copyright © 2010–2022 JBoss by Red Hat. All rights reserved.