Package com.sun.faces.component.search
Class SearchExpressionContextImpl
java.lang.Object
jakarta.faces.component.search.SearchExpressionContext
com.sun.faces.component.search.SearchExpressionContextImpl
public class SearchExpressionContextImpl extends SearchExpressionContext
-
Constructor Summary
Constructors Constructor Description SearchExpressionContextImpl(FacesContext facesContext)
-
Method Summary
Modifier and Type Method Description Set<SearchExpressionHint>
getExpressionHints()
Returns hints that influence the behavior of resolving the expression.FacesContext
getFacesContext()
Returns the FacesContext for the current request.UIComponent
getSource()
Returns the source / base component from which we will start to perform our search.Set<VisitHint>
getVisitHints()
Returns hints that influence the behavior of the tree visit, if it's used by anSearchKeywordResolver
implementation.void
setExpressionHints(Set<SearchExpressionHint> expressionHints)
void
setSource(UIComponent source)
void
setVisitHints(Set<VisitHint> visitHints)
Methods inherited from class jakarta.faces.component.search.SearchExpressionContext
createSearchExpressionContext, createSearchExpressionContext
-
Constructor Details
-
Method Details
-
getSource
Description copied from class:SearchExpressionContext
Returns the source / base component from which we will start to perform our search.
- Specified by:
getSource
in classSearchExpressionContext
- Returns:
- the source component.
-
setSource
-
getVisitHints
Description copied from class:SearchExpressionContext
Returns hints that influence the behavior of the tree visit, if it's used by an
SearchKeywordResolver
implementation.- Specified by:
getVisitHints
in classSearchExpressionContext
- Returns:
- a non-empty, unmodifiable collection of
VisitHint
s - See Also:
VisitContext.getHints()
-
setVisitHints
-
getExpressionHints
Description copied from class:SearchExpressionContext
Returns hints that influence the behavior of resolving the expression.
- Specified by:
getExpressionHints
in classSearchExpressionContext
- Returns:
- a non-empty, unmodifiable collection of
SearchExpressionHint
s
-
setExpressionHints
-
getFacesContext
Description copied from class:SearchExpressionContext
Returns the FacesContext for the current request.
- Specified by:
getFacesContext
in classSearchExpressionContext
- Returns:
- the FacesContext.
-