Package jakarta.faces.component.search
Class SearchKeywordResolver
- java.lang.Object
-
- jakarta.faces.component.search.SearchKeywordResolver
-
public abstract class SearchKeywordResolver extends Object
-
-
Constructor Summary
Constructors Constructor Description SearchKeywordResolver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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 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)
-
-
-
Method Detail
-
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
public 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 client- Parameters:
searchExpressionContext
-keyword
-- Returns:
-
isLeaf
public 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. For example: @none:@parent.- Parameters:
searchExpressionContext
-keyword
-- Returns:
-
-