Top Constructors Methods
com.sun.faces.component.search

public Class SearchKeywordResolverImplPrevious

extends SearchKeywordResolver
Class Inheritance
Imports
java.util.List, jakarta.faces.component.UIComponent, jakarta.faces.component.search.SearchExpressionContext, .SearchKeywordContext, .SearchKeywordResolver, .UntargetableComponent

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
isResolverForKeyword(SearchExpressionContext searchExpressionContext, String
the keyword
keyword
)

Implements abstract jakarta.faces.component.search.SearchKeywordResolver.isResolverForKeyword.

Checks if the current instance of the SearchKeywordResolver is responsible for resolving the keyword.

public void
resolve(SearchKeywordContext
the SearchKeywordContext
searchKeywordContext
,
UIComponent
the previous resolved component or the source component (if called for the first keyword in the chain)
current
,
String
the keyword
keyword
)

Implements abstract jakarta.faces.component.search.SearchKeywordResolver.resolve.

Try to resolve one or multiple UIComponents based on the keyword and calls SearchKeywordContext#invokeContextCallback(jakarta.faces.component.UIComponent) for each resolved component.

Inherited from jakarta.faces.component.search.SearchKeywordResolver:
isLeafisPassthrough

Constructor Detail

SearchKeywordResolverImplPreviousback to summary
public SearchKeywordResolverImplPrevious()

Method Detail

isResolverForKeywordback to summary
public boolean isResolverForKeyword(SearchExpressionContext searchExpressionContext, String keyword)

Implements abstract jakarta.faces.component.search.SearchKeywordResolver.isResolverForKeyword.

Doc from jakarta.faces.component.search.SearchKeywordResolver.isResolverForKeyword.

Checks if the current instance of the SearchKeywordResolver is responsible for resolving the keyword.

Parameters
searchExpressionContext:SearchExpressionContext

the SearchExpressionContext

keyword:String

the keyword

Returns:boolean

true if it's responsible for resolving this keyword

Annotations
@Override
resolveback to summary
public void resolve(SearchKeywordContext searchKeywordContext, UIComponent current, String keyword)

Implements abstract jakarta.faces.component.search.SearchKeywordResolver.resolve.

Doc from jakarta.faces.component.search.SearchKeywordResolver.resolve.

Try to resolve one or multiple UIComponents based on the keyword and calls SearchKeywordContext#invokeContextCallback(jakarta.faces.component.UIComponent) for each resolved component.

Parameters
searchKeywordContext:SearchKeywordContext

the SearchKeywordContext

current:UIComponent

the previous resolved component or the source component (if called for the first keyword in the chain)

keyword:String

the keyword

Annotations
@Override