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

public Class SearchKeywordResolverImplAll

extends AbstractSearchKeywordResolverImpl
Class Inheritance
Imports
jakarta.faces.component.UIComponent, jakarta.faces.component.search.SearchExpressionContext, .SearchExpressionHint, .SearchKeywordContext

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Overrides jakarta.faces.component.search.SearchKeywordResolver.isLeaf.

A leaf keyword is a keyword that does not allow to be combined with keywords or id chains to the right.

public boolean
isPassthrough(SearchExpressionContext searchExpressionContext, String
the keyword
keyword
)

Overrides jakarta.faces.component.search.SearchKeywordResolver.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 "unresolved" to the client.

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 com.sun.faces.component.search.AbstractSearchKeywordResolverImpl:
closestisHintSet

Constructor Detail

SearchKeywordResolverImplAllback to summary
public SearchKeywordResolverImplAll()

Method Detail

isLeafback to summary
public boolean isLeaf(SearchExpressionContext searchExpressionContext, String keyword)

Overrides jakarta.faces.component.search.SearchKeywordResolver.isLeaf.

Doc from jakarta.faces.component.search.SearchKeywordResolver.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:SearchExpressionContext

the SearchExpressionContext

keyword:String

the keyword

Returns:boolean

true if it's leaf keyword.

Annotations
@Override
isPassthroughback to summary
public boolean isPassthrough(SearchExpressionContext searchExpressionContext, String keyword)

Overrides jakarta.faces.component.search.SearchKeywordResolver.isPassthrough.

Doc from jakarta.faces.component.search.SearchKeywordResolver.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 "unresolved" to the client.

Parameters
searchExpressionContext:SearchExpressionContext

the SearchExpressionContext

keyword:String

the keyword

Returns:boolean

true if it's passthrough keyword.

Annotations
@Override
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