java.lang.Object
jakarta.faces.component.search.SearchKeywordResolver
com.sun.faces.component.search.AbstractSearchKeywordResolverImpl
com.sun.faces.component.search.SearchKeywordResolverImplId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringbooleanisResolverForKeyword(SearchExpressionContext searchExpressionContext, String keyword) Checks if the current instance of theSearchKeywordResolveris responsible for resolving the keyword.voidresolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword) Try to resolve one or multipleUIComponents based on the keyword and callsSearchKeywordContext.invokeContextCallback(jakarta.faces.component.UIComponent)for each resolved component.Methods inherited from class com.sun.faces.component.search.AbstractSearchKeywordResolverImpl
closest, isHintSetMethods inherited from class jakarta.faces.component.search.SearchKeywordResolver
isLeaf, isPassthrough
-
Constructor Details
-
SearchKeywordResolverImplId
public SearchKeywordResolverImplId()
-
-
Method Details
-
resolve
Description copied from class:SearchKeywordResolverTry to resolve one or multiple
UIComponents based on the keyword and callsSearchKeywordContext.invokeContextCallback(jakarta.faces.component.UIComponent)for each resolved component.- Specified by:
resolvein classSearchKeywordResolver- Parameters:
searchKeywordContext- theSearchKeywordContextcurrent- the previous resolved component or the source component (if called for the first keyword in the chain)keyword- the keyword
-
isResolverForKeyword
public boolean isResolverForKeyword(SearchExpressionContext searchExpressionContext, String keyword) Description copied from class:SearchKeywordResolverChecks if the current instance of the
SearchKeywordResolveris responsible for resolving the keyword.- Specified by:
isResolverForKeywordin classSearchKeywordResolver- Parameters:
searchExpressionContext- theSearchExpressionContextkeyword- the keyword- Returns:
trueif it's responsible for resolving this keyword
-
extractId
-