Package jakarta.faces.component.search
Class SearchKeywordResolver
java.lang.Object
jakarta.faces.component.search.SearchKeywordResolver
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
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 to the clientabstract boolean
isResolverForKeyword
(SearchExpressionContext searchExpressionContext, String keyword) Check if the keyword can be resolved by the current resolverabstract void
resolve
(SearchKeywordContext keywordContext, UIComponent current, String keyword)
-
Constructor Details
-
SearchKeywordResolver
public SearchKeywordResolver()
-
-
Method Details
-
resolve
public abstract void resolve(SearchKeywordContext keywordContext, UIComponent current, String keyword) -
isResolverForKeyword
public abstract boolean isResolverForKeyword(SearchExpressionContext searchExpressionContext, String keyword) Check if the keyword can be resolved by the current resolver- Parameters:
searchExpressionContext
-keyword
-- Returns:
-
isPassthrough
A passthrough keyword is a keyword that according to the context does not require to be resolved on the server, and can be passed to the client- Parameters:
searchExpressionContext
-keyword
-- Returns:
-
isLeaf
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.- Parameters:
searchExpressionContext
-keyword
-- Returns:
-