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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<SearchExpressionHint>getExpressionHints()Returns hints that influence the behavior of resolving the expression.FacesContextgetFacesContext()Returns the FacesContext for the current request.UIComponentgetSource()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 anSearchKeywordResolverimplementation.voidsetExpressionHints(Set<SearchExpressionHint> expressionHints)voidsetSource(UIComponent source)voidsetVisitHints(Set<VisitHint> visitHints)-
Methods inherited from class jakarta.faces.component.search.SearchExpressionContext
createSearchExpressionContext, createSearchExpressionContext
-
-
-
-
Constructor Detail
-
SearchExpressionContextImpl
public SearchExpressionContextImpl(FacesContext facesContext)
-
-
Method Detail
-
getSource
public UIComponent getSource()
Description copied from class:SearchExpressionContextReturns the source / base component from which we will start to perform our search.
- Specified by:
getSourcein classSearchExpressionContext- Returns:
- the source component.
-
setSource
public void setSource(UIComponent source)
-
getVisitHints
public Set<VisitHint> getVisitHints()
Description copied from class:SearchExpressionContextReturns hints that influence the behavior of the tree visit, if it's used by an
SearchKeywordResolverimplementation.- Specified by:
getVisitHintsin classSearchExpressionContext- Returns:
- a non-empty, unmodifiable collection of
VisitHints - See Also:
VisitContext.getHints()
-
getExpressionHints
public Set<SearchExpressionHint> getExpressionHints()
Description copied from class:SearchExpressionContextReturns hints that influence the behavior of resolving the expression.
- Specified by:
getExpressionHintsin classSearchExpressionContext- Returns:
- a non-empty, unmodifiable collection of
SearchExpressionHints
-
setExpressionHints
public void setExpressionHints(Set<SearchExpressionHint> expressionHints)
-
getFacesContext
public FacesContext getFacesContext()
Description copied from class:SearchExpressionContextReturns the FacesContext for the current request.
- Specified by:
getFacesContextin classSearchExpressionContext- Returns:
- the FacesContext.
-
-