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

public Class SearchKeywordResolverImplChild

extends SearchKeywordResolver
Class Inheritance
Imports
java.util.List, java.util.regex.Matcher, .Pattern, javax.faces.FacesException, javax.faces.component.UIComponent, javax.faces.component.search.UntargetableComponent, .SearchExpressionContext, .SearchKeywordContext, .SearchKeywordResolver

Field Summary

Modifier and TypeField and Description
private static final Pattern

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements abstract javax.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 javax.faces.component.search.SearchKeywordResolver.resolve.

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

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

Field Detail

PATTERNback to summary
private static final Pattern PATTERN

Constructor Detail

SearchKeywordResolverImplChildback to summary
public SearchKeywordResolverImplChild()

Method Detail

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

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

Doc from javax.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 javax.faces.component.search.SearchKeywordResolver.resolve.

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

Try to resolve one or multiple UIComponents based on the keyword and calls SearchKeywordContext#invokeContextCallback(javax.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