public class SearchKeywordResolverImplAll extends AbstractSearchKeywordResolverImpl
Constructor and Description |
---|
SearchKeywordResolverImplAll() |
Modifier and Type | Method and Description |
---|---|
boolean |
isLeaf(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(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(SearchExpressionContext searchExpressionContext,
String keyword)
Checks if the current instance of the |
void |
resolve(SearchKeywordContext searchKeywordContext,
UIComponent current,
String keyword)
Try to resolve one or multiple |
closest, isHintSet
public void resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword)
SearchKeywordResolver
Try to resolve one or multiple UIComponent
s based on the keyword and calls
SearchKeywordContext.invokeContextCallback(javax.faces.component.UIComponent)
for each resolved component.
resolve
in class SearchKeywordResolver
searchKeywordContext
- the SearchKeywordContext
current
- the previous resolved component or the source component (if called for the first keyword in the chain)keyword
- the keywordpublic boolean isResolverForKeyword(SearchExpressionContext searchExpressionContext, String keyword)
SearchKeywordResolver
Checks if the current instance of the SearchKeywordResolver
is responsible for resolving the keyword.
isResolverForKeyword
in class SearchKeywordResolver
searchExpressionContext
- the SearchExpressionContext
keyword
- the keywordtrue
if it's responsible for resolving this keywordpublic boolean isPassthrough(SearchExpressionContext searchExpressionContext, String keyword)
SearchKeywordResolver
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.
isPassthrough
in class SearchKeywordResolver
searchExpressionContext
- the SearchExpressionContext
keyword
- the keywordtrue
if it's passthrough keyword.public boolean isLeaf(SearchExpressionContext searchExpressionContext, String keyword)
SearchKeywordResolver
A 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 SearchKeywordResolver
searchExpressionContext
- the SearchExpressionContext
keyword
- the keywordtrue
if it's leaf keyword.Comments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.